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"] EXPOSE 3000