Skip to content

Commit

Permalink
without BUILDPLATFORM
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Oct 17, 2023
1 parent 850f5f8 commit 59e984a
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions ubt-core/src/gcc/static/Dockerfile.xx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@

ARG BUILDPLATFORM=linux/amd64
ARG TARGETPLATFORM
FROM --platform=$BUILDPLATFORM registry.cn-shenzhen.aliyuncs.com/infrasync/tonistiigi-xx AS xx
# ARG BUILDPLATFORM=linux/amd64
# ARG TARGETPLATFORM
# FROM --platform=$BUILDPLATFORM registry.cn-shenzhen.aliyuncs.com/infrasync/tonistiigi-xx AS xx
FROM registry.cn-shenzhen.aliyuncs.com/infrasync/tonistiigi-xx AS xx

ARG BUILDPLATFORM=linux/amd64
ARG TARGETPLATFORM
FROM --platform=$BUILDPLATFORM registry.cn-shenzhen.aliyuncs.com/infrasync/alpine:3.15 AS upx
# ARG BUILDPLATFORM=linux/amd64
# ARG TARGETPLATFORM
# FROM --platform=$BUILDPLATFORM registry.cn-shenzhen.aliyuncs.com/infrasync/alpine:3.15 AS upx
FROM registry.cn-shenzhen.aliyuncs.com/infrasync/alpine:3.15 AS upx
COPY --from=xx / /

# https://gitee.com/infrastlabs/alpine-ext/blob/master/src/build.sh
Expand Down

0 comments on commit 59e984a

Please sign in to comment.