Added make download-packages
This commit is contained in:
@@ -4,19 +4,12 @@ FROM --platform=linux/amd64 ${DOCKER_IMAGE_ROOT}/build-base:${TAG} AS build-base
|
||||
|
||||
ARG ALPINE_ARCH
|
||||
ARG ALPINE_VER
|
||||
|
||||
RUN apt-get update && apt-get install -y qemu-user-static --no-install-recommends
|
||||
ARG CRIO_VERSION
|
||||
|
||||
RUN mkdir -p "/out/rootfs"
|
||||
|
||||
# RUN curl -L \
|
||||
# "https://dl-cdn.alpinelinux.org/alpine/v3.21/releases/${ALPINE_ARCH}/alpine-minirootfs-${ALPINE_VER}-${ALPINE_ARCH}.tar.gz" \
|
||||
# -o alpine-minirootfs.tar.gz
|
||||
# RUN tar -xzf alpine-minirootfs.tar.gz -C "/out/rootfs"
|
||||
|
||||
# Dev-only shortcut
|
||||
COPY dev/alpine.tar.gz ./
|
||||
COPY dev/crio.tar.gz ./
|
||||
COPY packages/alpine-minirootfs-${ALPINE_VER}-${ALPINE_ARCH}.tar.gz ./alpine.tar.gz
|
||||
COPY packages/${CRIO_VERSION}.tar.gz ./crio.tar.gz
|
||||
|
||||
RUN tar -xf alpine.tar.gz -C "/out/rootfs"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user