mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
Install git-lfs on proxy container (#1455)
For repositories that store some files in git-lfs, the checksum will differ for clients with and without git-lfs. Clients without git-lfs will use the git-lfs pointer [0] for calculation, clients with will use the real files. This adds git-lfs to the container to match expected behaviour and resolve checksum mismatches in these cases. [0] https://github.com/git-lfs/git-lfs/blob/master/docs/spec.md
This commit is contained in:
committed by
Aaron Schlesinger
parent
053280a941
commit
6ee9e0932c
@@ -25,7 +25,7 @@ COPY --from=builder /go/src/github.com/gomods/athens/config.dev.toml /config/con
|
||||
COPY --from=builder /usr/local/go/bin/go /bin/go
|
||||
|
||||
# Add tini, see https://github.com/gomods/athens/issues/1155 for details.
|
||||
RUN apk add --update bzr git mercurial openssh-client subversion procps fossil tini && \
|
||||
RUN apk add --update bzr git git-lfs mercurial openssh-client subversion procps fossil tini && \
|
||||
mkdir -p /usr/local/go
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
Reference in New Issue
Block a user