diff options
Diffstat (limited to 'docker/integration_test/web/Dockerfile')
| -rw-r--r-- | docker/integration_test/web/Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docker/integration_test/web/Dockerfile b/docker/integration_test/web/Dockerfile new file mode 100644 index 0000000..2ba7a5d --- /dev/null +++ b/docker/integration_test/web/Dockerfile @@ -0,0 +1,15 @@ +FROM archlinux:base + +RUN pacman -Suy --noconfirm && pacman -S openssl git --noconfirm + +# Docker still have this really stupied idea that all files must be relative "context", +# so context is set to ../.. relative the docker-compose.yaml +COPY server/target/x86_64-unknown-linux-musl/debug/eyeballs-githook /app/eyeballs-githook +COPY server/target/debug/eyeballs /app/eyeballs +COPY docker/integration_test/web/setup.sh /app/setup.sh + +RUN mkdir -p -m 0700 /app/.ssh +COPY docker/integration_test/web/gitkey /app/.ssh/id_rsa + +WORKDIR /app +ENTRYPOINT /app/setup.sh |
