Skip to content

Commit

Permalink
ubuntu-16.04: add git-lfs via packagecloud apt repo
Browse files Browse the repository at this point in the history
Install gpg key from wget https://packagecloud.io/github/git-lfs/gpgkey

Install apt-transport-https as packagecloud is https only

Add packagecloud apt repo, as excerpted from install script:
https://packagecloud.io/github/git-lfs/install#bash-deb
(e.g. https://packagecloud.io/install/repositories/github/git-lfs/config_file.list?os=ubuntu&dist=xenial&source=script)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
  • Loading branch information
Tim Orling committed May 5, 2020
1 parent 4c73670 commit 25f4a87
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dockerfiles/ubuntu/ubuntu-16.04/ubuntu-16.04-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@

FROM ubuntu:16.04

RUN apt-get update && \
# apt-key is using fingerprint from https://packagecloud.io/github/git-lfs/gpgkey
# wget -O - https://packagecloud.io/github/git-lfs/gpgkey | gpg --with-fingerprint
RUN apt-get update && apt-get install -y apt-transport-https && \
echo "deb https://packagecloud.io/github/git-lfs/ubuntu/ xenial main" >> /etc/apt/sources.list && \
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 6D398DBD30DD78941E2C4797FE2A5F8BDC282033 && \
apt-get update && \
apt-get install -y \
gawk \
wget \
Expand Down

0 comments on commit 25f4a87

Please sign in to comment.