File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11FROM ubuntu:focal
22LABEL maintainer="
[email protected] "
33
4- ARG DUMB_INIT_VERSION="1.2.2"
5- # TODO: remove git PPA and skopeo customizations for focal when focal hits EOL
6- ENV GIT_LFS_VERSION="3.2.0"
7-
84ENV LANG=en_US.UTF-8
95ENV LANGUAGE=en_US.UTF-8
106ENV LC_ALL=en_US.UTF-8
Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ function install_aws-cli() {
2828function install_git-lfs() {
2929 local DPKG_ARCH
3030 DPKG_ARCH=" $( dpkg --print-architecture) "
31+ GIT_LFS_VERSION=$( curl -sL -H " Accept: application/vnd.github+json" \
32+ https://api.github.com/repos/git-lfs/git-lfs/releases/latest \
33+ | jq -r ' .tag_name' | sed ' s/^v//g' )
3134
3235 curl -s " https://github.com/git-lfs/git-lfs/releases/download/v${GIT_LFS_VERSION} /git-lfs-linux-${DPKG_ARCH} -v${GIT_LFS_VERSION} .tar.gz" -L -o /tmp/lfs.tar.gz
3336 tar -xzf /tmp/lfs.tar.gz -C /tmp
You can’t perform that action at this time.
0 commit comments