Skip to content

Commit

Permalink
ARG BASEIMAGE=alpine:3.15
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Nov 4, 2023
1 parent 77d8b77 commit 4024ddf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions compile/build-alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ARG BASEIMAGE=alpine:3.15
ARG BASEIMAGE=compile
ARG BASEIMAGE=alpine:3.15
# ARG BASEIMAGE=compile
FROM registry.cn-shenzhen.aliyuncs.com/infrastlabs/x11-base:alpine-compile as compile
FROM infrastlabs/x11-base:builder AS base
ARG TARGETPLATFORM
Expand Down Expand Up @@ -89,6 +89,9 @@ RUN \

FROM ${BASEIMAGE}
# FROM compile
RUN export domain="mirrors.ustc.edu.cn"; \
echo "http://$domain/alpine/v3.15/main" > /etc/apk/repositories; \
echo "http://$domain/alpine/v3.15/community" >> /etc/apk/repositories
ENV STATIC=/usr/local/static
WORKDIR ${STATIC}

Expand Down

0 comments on commit 4024ddf

Please sign in to comment.