mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-04 22:45:29 +01:00
17 lines
694 B
Docker
17 lines
694 B
Docker
## Use a proxy or fallback to no proxy at all (direct access to Docker Hub).
|
|
ARG CI_DOCKER_PROXY=""
|
|
FROM ${CI_DOCKER_PROXY}cypress/included:13.6.4
|
|
|
|
RUN apt-get update && apt-get -y --no-install-recommends install \
|
|
ca-certificates \
|
|
curl
|
|
|
|
RUN curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.12/gosu-$(dpkg --print-architecture)" \
|
|
&& curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.12/gosu-$(dpkg --print-architecture).asc" \
|
|
&& chmod +x /usr/local/bin/gosu
|
|
|
|
COPY ./suite/entrypoint.sh /usr/local/bin/entrypoint.sh
|
|
RUN chmod +x /usr/local/bin/entrypoint.sh
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|