remove pkgmod.tar.gz from image
This commit is contained in:
parent
a1e527bc06
commit
79879a0e43
@ -8,12 +8,8 @@ COPY files/go1.18.6.linux-amd64.tar.gz go1.18.6.linux-amd64.tar.gz
|
||||
|
||||
RUN mkdir /tmp/go
|
||||
|
||||
COPY files/pkgmod.tar.gz /tmp/go/pkgmod.tar.gz
|
||||
|
||||
WORKDIR /tmp/go
|
||||
|
||||
RUN tar -xvzf pkgmod.tar.gz
|
||||
|
||||
ENV GOPATH /tmp/go
|
||||
|
||||
RUN chmod ugo+rwx /tmp/go
|
||||
|
Loading…
Reference in New Issue
Block a user