mirror of https://github.com/google/oss-fuzz.git
[base-runner] Fix build so that go layer isn't saved. (#8861)
This commit is contained in:
parent
f83e9eea26
commit
474411cbb0
|
@ -66,8 +66,7 @@ ENV PATH $PATH:$GOPATH/bin
|
||||||
COPY gocoverage $GOPATH/gocoverage
|
COPY gocoverage $GOPATH/gocoverage
|
||||||
|
|
||||||
COPY install_go.sh /
|
COPY install_go.sh /
|
||||||
RUN /install_go.sh && rm /install_go.sh
|
RUN /install_go.sh && rm -rf /install_go.sh /root/.go
|
||||||
RUN rm -rf /root/.go
|
|
||||||
|
|
||||||
# Install OpenJDK 15 and trim its size by removing unused components.
|
# Install OpenJDK 15 and trim its size by removing unused components.
|
||||||
ENV JAVA_HOME=/usr/lib/jvm/java-15-openjdk-amd64
|
ENV JAVA_HOME=/usr/lib/jvm/java-15-openjdk-amd64
|
||||||
|
|
Loading…
Reference in New Issue