From 00712ff0a54b2839c5aa1a8ed758003ca65357dc Mon Sep 17 00:00:00 2001 From: Theodore Dubois Date: Mon, 8 Jan 2024 10:06:22 -0800 Subject: [PATCH] Time for alpine 3.19 --- Dockerfile | 4 ++-- build.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index fbd2101..2e7b2e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM --platform=linux/386 docker.io/library/alpine:3.14.3 AS ish-alpine +FROM --platform=linux/386 docker.io/library/alpine:3.19.0 AS ish-alpine FROM ish-alpine LABEL ish.export=appstore-apk.tar.gz RUN mkdir /ish && touch /ish/version -RUN echo 296 > /ish/apk-version +RUN echo 31900 > /ish/apk-version COPY apk-motd /etc/motd diff --git a/build.sh b/build.sh index 157548d..3c914ec 100755 --- a/build.sh +++ b/build.sh @@ -1,14 +1,14 @@ #!/bin/bash -e cd $(dirname "$0") -podman build --platform=linux/386 . +docker build --platform=linux/386 . roots=(appstore-apk) mkdir -p out for root in "${roots[@]}"; do - image=$(podman images --filter label=ish.export="$root.tar.gz" --quiet | head -n1) + image=$(docker images --filter label=ish.export="$root.tar.gz" --quiet | head -n1) echo "exporting $root $image" - podman save "$image" -o out/"$root.raw.tar" + docker save "$image" -o out/"$root.raw.tar" ./flatten.py out/"$root.raw.tar" | gzip -n > out/"$root.tar.gz" rm out/"$root.raw.tar" done