Skip to content

Instantly share code, notes, and snippets.

@ZiTAL
Created October 30, 2024 13:02
Show Gist options
  • Save ZiTAL/6f05b759987ac3d7cb6275abd3b2bf28 to your computer and use it in GitHub Desktop.
Save ZiTAL/6f05b759987ac3d7cb6275abd3b2bf28 to your computer and use it in GitHub Desktop.
wolfi / alpine: use git clone in Dockerfile
FROM cgr.dev/chainguard/wolfi-base
# FROM docker.io/library/alpine:3.20
RUN apk update && apk add git
RUN cd /tmp && \
git config --global http.postBuffer 524288000 && \
git config --global http.maxRequestBuffer 524288000 && \
git config --global core.compression 0 && \
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MobileFrontend
@ZiTAL
Copy link
Author

ZiTAL commented Oct 30, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment