Skip to content

Commit

Permalink
Configure git-lfs for Ubuntu 16.04/18.04
Browse files Browse the repository at this point in the history
Ubuntu 20.04+ git-lfs packages have a postinst that runs
'git lfs install --system'; we need to manually do this for 16.04 and
18.04.

Change-Id: Ibd09e54406c5d10a051de4faf4847fc80d8e28a8
  • Loading branch information
rossstutterheim-garmin authored and JoshuaWatt committed Apr 18, 2023
1 parent 3aabbca commit b02d3c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ RUN set -x && export DEBIAN_FRONTEND=noninteractive && \
curl -fsSL 'https://packagecloud.io/github/git-lfs/gpgkey' | gpg --dearmor > /etc/apt/keyrings/github_git-lfs-archive-keyring.gpg && \
apt-get -y update && \
apt-get -y install git-lfs && \
# Configure git lfs
git lfs install --system > /dev/null 2>&1 && \
# Clean up apt-cache
rm -rf /var/lib/apt/lists/* &&\
# generate utf8 locale
Expand Down Expand Up @@ -540,6 +542,9 @@ RUN set -x && export DEBIAN_FRONTEND=noninteractive && \
# Testing requirements
wine64 \
wine32 \
&& \
# Configure git lfs
git lfs install --system > /dev/null 2>&1 \
&& rm -rf /var/lib/apt/lists/*

# Python modules used by resulttool
Expand Down

0 comments on commit b02d3c7

Please sign in to comment.