mirror of
https://git.suyu.dev/suyu/build-environments
synced 2024-11-21 14:28:59 -07:00
.
This commit is contained in:
parent
795670b335
commit
bae4b696ad
1 changed files with 8 additions and 4 deletions
|
@ -97,11 +97,15 @@ ENV DIND_COMMIT 65cfcc28ab37cb75e1560e4b4738719c07c6618e
|
|||
|
||||
RUN set -eux; \
|
||||
wget -O /usr/local/bin/dind "https://raw.githubusercontent.com/docker/docker/${DIND_COMMIT}/hack/dind"; \
|
||||
chmod +x /usr/local/bin/dind \
|
||||
wget -O /usr/local/bin/forgejo-runner https://code.forgejo.org/forgejo/runner/releases/download/v3.3.0/forgejo-runner-3.3.0-linux-amd64 \
|
||||
chmod +x /usr/local/bin/forgejo-runner
|
||||
chmod +x /usr/local/bin/dind
|
||||
|
||||
COPY dockerd-entrypoint.sh /usr/local/bin/
|
||||
RUN set -eux; \
|
||||
wget -O /usr/local/bin/dockerd-entrypoint.sh "https://raw.githubusercontent.com/docker-library/docker/master/26/dind/dockerd-entrypoint.sh"; \
|
||||
chmod +x /usr/local/bin/dockerd-entrypoint.sh
|
||||
|
||||
RUN set -eux; \
|
||||
wget -O /usr/local/bin/forgejo-runner "https://code.forgejo.org/forgejo/runner/releases/download/v3.3.0/forgejo-runner-3.3.0-linux-amd64"; \
|
||||
chmod +x /usr/local/bin/forgejo-runner
|
||||
|
||||
VOLUME /var/lib/docker
|
||||
EXPOSE 2375 2376
|
||||
|
|
Loading…
Reference in a new issue