This repository has been archived on 2021-04-19. You can view files and clone it, but cannot push or open issues/pull-requests.
drone-nix-runner/Dockerfile

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