Skip to content

Commit

Permalink
feat: add git-lfs to Docker images
Browse files Browse the repository at this point in the history
This change adds support for git large files storage (lfs) by adding the
`git-lfs` package to both the default and `slim` Docker images. This
change was prompted by a user request and barely increases the
uncompressed image size. The feature will be useful for anyone making
use of git lfs in the repositories they wish to analyze with Phylum.
  • Loading branch information
maxrake committed Jul 25, 2024
1 parent f2cbe48 commit 78a83af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ RUN \
apt-get upgrade --yes; \
apt-get install --yes --no-install-recommends \
git \
git-lfs \
bundler \
maven \
procps \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.slim
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ RUN set -eux; \
# Install prerequisites
apt-get update; \
apt-get upgrade --yes; \
apt-get install --yes --no-install-recommends git procps binutils; \
apt-get install --yes --no-install-recommends git git-lfs procps binutils; \
# Make ENTRYPOINT alternative script available
chmod +x "${PHYLUM_VENV}/bin/entrypoint.sh"; \
# Install Phylum CLI
Expand Down

0 comments on commit 78a83af

Please sign in to comment.