Skip to content

Commit

Permalink
Time for alpine 3.19
Browse files Browse the repository at this point in the history
  • Loading branch information
tbodt committed Jan 8, 2024
1 parent 5739cf3 commit 00712ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 00712ff

Please sign in to comment.