remove pkgmod.tar.gz from image

This commit is contained in:
Michael Shaw 2022-10-19 11:25:48 -04:00
parent a1e527bc06
commit 79879a0e43

View File

@ -8,12 +8,8 @@ COPY files/go1.18.6.linux-amd64.tar.gz go1.18.6.linux-amd64.tar.gz
RUN mkdir /tmp/go RUN mkdir /tmp/go
COPY files/pkgmod.tar.gz /tmp/go/pkgmod.tar.gz
WORKDIR /tmp/go WORKDIR /tmp/go
RUN tar -xvzf pkgmod.tar.gz
ENV GOPATH /tmp/go ENV GOPATH /tmp/go
RUN chmod ugo+rwx /tmp/go RUN chmod ugo+rwx /tmp/go