update alpine

This commit is contained in:
Connor Olding 2023-05-13 01:21:48 -07:00
parent 86022a405a
commit 44e6b7d13e
3 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@ RUN --mount=type=cache,id=common,target=/media/common,sharing=locked \
&& acquire from=github repo=jart/cosmopolitan dest=/cosmopolitan env=COSMO \ && acquire from=github repo=jart/cosmopolitan dest=/cosmopolitan env=COSMO \
; ;
FROM docker.io/library/alpine:3.17 AS builder FROM docker.io/library/alpine:3.18 AS builder
ARG COSMO_FLAVOR COSMO_COMMIT ARG COSMO_FLAVOR COSMO_COMMIT
COPY --from=downloader /cosmopolitan /cosmopolitan COPY --from=downloader /cosmopolitan /cosmopolitan
WORKDIR /cosmopolitan WORKDIR /cosmopolitan

View file

@ -49,7 +49,7 @@ RUN --mount=type=tmpfs,target=/tmp : \
&& cp /cosmopolitan/env /distrib/env \ && cp /cosmopolitan/env /distrib/env \
; ;
FROM docker.io/library/alpine:3.17 AS runner FROM docker.io/library/alpine:3.18 AS runner
COPY --from=distrib /distrib /cosmopolitan COPY --from=distrib /distrib /cosmopolitan
ENV PATH="/cosmopolitan/bin:/cosmopolitan/gcc/bin/:/cosmopolitan/gcc/x86_64-linux-musl/bin/:$PATH" ENV PATH="/cosmopolitan/bin:/cosmopolitan/gcc/bin/:/cosmopolitan/gcc/x86_64-linux-musl/bin/:$PATH"
# FIXME: # FIXME:

View file

@ -1,6 +1,6 @@
# MAIN: https://eaguru.guru/git/notwa/stargazing # MAIN: https://eaguru.guru/git/notwa/stargazing
# REPO: https://eaguru.guru/git/notwa/stargazing # REPO: https://eaguru.guru/git/notwa/stargazing
FROM docker.io/library/alpine:3.17 as partial FROM docker.io/library/alpine:3.18 as partial
# need this for acquire (.tar.xz files): # need this for acquire (.tar.xz files):
RUN apk add --no-cache xz RUN apk add --no-cache xz
COPY --chmod=0755 acquire cosmocc dedupe ofc quickconf shed \ COPY --chmod=0755 acquire cosmocc dedupe ofc quickconf shed \
@ -24,7 +24,7 @@ RUN --mount=type=cache,id=common,target=/media/common,sharing=locked \
&& acquire \ && acquire \
; ;
FROM docker.io/library/alpine:3.17 as builder FROM docker.io/library/alpine:3.18 as builder
RUN apk add --no-cache gcc linux-headers make musl-dev RUN apk add --no-cache gcc linux-headers make musl-dev
# configure and build a rescue shell and some utilities, # configure and build a rescue shell and some utilities,
# i.e. one better suited for images built "FROM scratch". # i.e. one better suited for images built "FROM scratch".