diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-02-09 23:56:38 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-02-09 23:56:38 +0100 |
| commit | bf025b4977543a371df9dbdddfe9cc2f02f2a8d0 (patch) | |
| tree | fc8937a3b5f3311ff7b8209aec3961668ac83d8c /docker/integration_test/web/Dockerfile | |
| parent | bd74717e10fb36e19893c15941876b2383b94714 (diff) | |
First integration test
Sets up a whole slew of docker instances, all started from clean
slate for test.
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 |
