dockerfile scratch
This commit is contained in:
@@ -30,7 +30,7 @@ RUN mkdir -p /app/extracted && tar -zxvf oc-auth.tar.gz -C /app/extracted
|
|||||||
|
|
||||||
#----------------------------------------------------------------------------------------------
|
#----------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
FROM golang:alpine
|
FROM scratch
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/extracted/oc-auth /usr/bin
|
COPY --from=builder /app/extracted/oc-auth /usr/bin
|
||||||
|
|||||||
Reference in New Issue
Block a user