Files
trezor-suite/docker/test-runner/Dockerfile
2020-12-09 12:26:28 +01:00

14 lines
574 B
Docker

FROM cypress/included:6.1.0
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.4/gosu-$(dpkg --print-architecture)" \
&& curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.4/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"]