Skip to content

Commit f8fbb9d

Browse files
committed
Cleanup hugo installation.
Signed-off-by: Cyril Tovena <[email protected]>
1 parent d7c0151 commit f8fbb9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN go clean -i net && \
1010
ENV HUGO_VERSION=v0.59.1
1111
RUN git clone https://github.com/gohugoio/hugo.git --branch ${HUGO_VERSION} --depth 1 && \
1212
cd hugo && go install --tags extended && cd ../ && \
13-
rm -rf hugo/
13+
rm -rf hugo/ && rm -rf /go/pkg /go/src
1414
RUN curl -fsSLo shfmt https://github.com/mvdan/sh/releases/download/v1.3.0/shfmt_v1.3.0_linux_amd64 && \
1515
echo "b1925c2c405458811f0c227266402cf1868b4de529f114722c2e3a5af4ac7bb2 shfmt" | sha256sum -c && \
1616
chmod +x shfmt && \

0 commit comments

Comments
 (0)