blob: 2ba7a5dddd05037e8308dd7a8ee6be52795605f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
|