Skip to content

Commit

Permalink
apk repo
Browse files Browse the repository at this point in the history
  • Loading branch information
huapox committed Oct 17, 2023
1 parent bcb321a commit 0001cb3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ubt-core/src/gcc/static/alpine-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ ls -lhaS
dockerfile=Dockerfile.out
cat > $dockerfile <<EOF
FROM alpine:3.15
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
ADD ./rootfs /rootfs
EOF

Expand Down

0 comments on commit 0001cb3

Please sign in to comment.