use alpine for dockerfile base images (#758)
## Description Uses alpine in the base docker images, to gain access to a shell within corso containers. ## Type of change - [x] 🌻 Feature ## Issue(s) * #573 ## Test Plan - [x] 💪 Manual - [ ] ⚡ Unit test - [ ] 💚 E2E
This commit is contained in:
parent
1f8c3cdb11
commit
e5ca159ad7
@ -3,8 +3,7 @@
|
||||
# This dockerfile is configured to be run by the /corso/build/build-container.sh
|
||||
# script. Using docker to build this file directly will fail.
|
||||
|
||||
FROM gcr.io/distroless/base-debian10
|
||||
# FROM gcr.io/distroless/base:debug
|
||||
FROM alpine:3.16
|
||||
|
||||
WORKDIR /
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ ARG TARGETARCH
|
||||
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /corso .
|
||||
|
||||
## Deploy
|
||||
FROM gcr.io/distroless/base-debian10
|
||||
FROM alpine:3.16
|
||||
|
||||
COPY --from=build /corso /
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user