Skip to content

Commit c9822a1

Browse files
authored
Dockerfile: remove Zig documentation from image (#55)
Reduce the image size by 46 MB (from 339 MB to 293 MB). Refs: #34
1 parent 4fc9277 commit c9822a1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN apk add --no-cache curl
1313
WORKDIR /tmp
1414
ADD https://ziglang.org/download/${VERSION}/${RELEASE}.tar.xz .
1515
RUN tar -xvf ${RELEASE}.tar.xz \
16+
&& rm -rf /tmp/${RELEASE}/doc \
1617
&& mv /tmp/${RELEASE} /opt/zig
1718

1819
FROM ${REPO}:${IMAGE} AS runner

0 commit comments

Comments
 (0)