Add golang image deps

This commit is contained in:
Jamie Curnow
2021-05-10 13:00:19 +10:00
parent 9387482da8
commit 8424d61bc1
+2 -1
View File
@@ -8,7 +8,7 @@ RUN echo "Golang: jc21/nginx-full:${BASE_TAG:-latest}, ${TARGETPLATFORM:-linux/a
LABEL maintainer="Jamie Curnow <jc@jc21.com>"
RUN apt-get update \
&& apt-get install -y wget \
&& apt-get install -y wget gcc g++ make git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
@@ -26,3 +26,4 @@ WORKDIR /root
RUN if [ "$TARGETPLATFORM" == "" ] || [ "$TARGETPLATFORM" == "linux/amd64" ]; then cd /usr && wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.39.0; fi
RUN go get -u github.com/kyoh86/richgo \
&& rm -rf /root/.cache/go-build