Simon Bruder
d41d680121
All checks were successful
continuous-integration/drone/push Build is passing
20 lines
579 B
Docker
20 lines
579 B
Docker
FROM nixos/nix
|
|
|
|
RUN mv /nix/store/ /nix/store-upstream/
|
|
|
|
# installed from alpine to not pollute nix store
|
|
RUN apk add --no-cache \
|
|
git \
|
|
git-lfs \
|
|
rsync \
|
|
su-exec
|
|
|
|
ARG DRONE_RUNNER_EXEC_VERSION=1.0.0-beta.9
|
|
RUN wget -O- https://github.com/drone-runners/drone-runner-exec/releases/download/v${DRONE_RUNNER_EXEC_VERSION}/drone_runner_exec_linux_amd64.tar.gz | tar -C /usr/local/bin -xzvf-
|
|
COPY entrypoint.sh /
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
ENV DRONE_RUNNER_ENVIRON=NIX_PATH:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixpkgs
|
|
|
|
EXPOSE 3000
|