Skip to content

Commit

Permalink
resolve missing gcc
Browse files Browse the repository at this point in the history
Change-Id: I73f35d1b0121ba7b2f816b27beba1bc1071b9d39
Signed-off-by: Nick Boldt <[email protected]>
  • Loading branch information
nickboldt committed Jul 10, 2023
1 parent 2c0897b commit 88edbfd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ RUN addgroup --gid "$GID" "$USER" \
--uid "$UID" \
"$USER"
# initialize CA certificates to propagate them into scratch image
RUN apk update && apk add --no-cache git && update-ca-certificates
RUN apk --update --no-cache add \
build-base \
gcc \
git \
&& rm -rf /tmp/* /var/cache/apk/* && update-ca-certificates

# compile machine exec binary file
WORKDIR /che-machine-exec/
Expand Down

0 comments on commit 88edbfd

Please sign in to comment.