File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
# cross-compiled, it cannot have ANY "RUN" commands. All binaries are built
3
3
# using the go toolchain on the host and then copied into the build context by
4
4
# scripts/build_docker.sh.
5
- FROM alpine:latest
5
+ FROM alpine/git :latest
6
6
7
7
# LABEL doesn't add any real layers so it's fine (and easier) to do it here than
8
8
# in the build script.
Original file line number Diff line number Diff line change @@ -101,9 +101,9 @@ log "--- Building Docker image for $arch ($image_tag)"
101
101
# add the coder group and user. We have to do this in a separate step instead of
102
102
# using the RUN directive in the Dockerfile because you can't use RUN if you're
103
103
# building the image for a different architecture than the host.
104
- docker pull --platform " $arch " alpine:latest 1>&2
104
+ docker pull --platform " $arch " alpine/git :latest 1>&2
105
105
106
- temp_container_id=" $( docker create --platform " $arch " alpine:latest) "
106
+ temp_container_id=" $( docker create --platform " $arch " alpine/git :latest) "
107
107
docker cp " $temp_container_id " :/etc/group ./group 1>&2
108
108
docker cp " $temp_container_id " :/etc/passwd ./passwd 1>&2
109
109
docker rm " $temp_container_id " 1>&2
You can’t perform that action at this time.
0 commit comments