File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -255,20 +255,20 @@ RUN <<EOF
255255 skopeo
256256
257257 IFS="." read -r MAJOR MINOR PATCH <<< "$(skopeo --version | awk '{print $3}' | cut -d'-' -f1)"
258- if (( MAJOR < 1 || ( MAJOR == 1 && MINOR < 14 ) )); then
259- echo "Skopeo version ${MAJOR}.${MINOR} is lower than required 1.13.3 , upgrading from source..."
258+ if (( MAJOR < 1 || ( MAJOR == 1 && MINOR < 21 ) )); then
259+ echo "Skopeo version ${MAJOR}.${MINOR} is lower than required 1.20.0 , upgrading from source..."
260260
261261 apt-get install -y --no-install-recommends \
262262 libgpgme-dev \
263263 libdevmapper-dev
264264
265265 # Install Go
266- curl --retry 3 --retry-connrefused -fL "https://go.dev/dl/go1.18.10 .${TARGETOS}-${TARGETARCH}.tar.gz" | tar -zx -C /usr/local
266+ curl --retry 3 --retry-connrefused -fL "https://go.dev/dl/go1.23.3 .${TARGETOS}-${TARGETARCH}.tar.gz" | tar -zx -C /usr/local
267267 export PATH="/usr/local/go/bin:${PATH}"
268268
269269 # Install Skopeo from source
270270 git -C /tmp clone --recursive --shallow-submodules \
271- --depth 1 --branch v1.13.3 --single-branch \
271+ --depth 1 --branch v1.20.0 --single-branch \
272272 https://github.com/containers/skopeo.git skopeo
273273
274274 # Build and install
You can’t perform that action at this time.
0 commit comments