Skip to content

Commit 6bd1868

Browse files
committed
Optimize image size by removing apt cache
1 parent 4ab7665 commit 6bd1868

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ LABEL org.opencontainers.image.source=https://github.com/projectsyn/container-js
1010
LABEL org.opencontainers.image.description="Binaries for go-jsonnet"
1111
LABEL org.opencontainers.image.licenses=MIT
1212

13-
RUN apt-get update && apt-get install -y ca-certificates tzdata && rm -rf /var/lib/apt/lists/*
13+
RUN apt-get update && apt-get install -y ca-certificates tzdata && rm -r /var/lib/apt/lists /var/cache/apt/archives
1414

1515
COPY --from=builder /go/bin/jsonnet* /usr/local/bin/
1616

0 commit comments

Comments
 (0)