fix Dockerfile

This commit is contained in:
virusdefender 2020-07-08 01:37:35 +00:00
parent 641a535af3
commit 8595c4d51a

View File

@ -1,7 +1,6 @@
FROM ubuntu:18.04
COPY build/java_policy /etc
# add-apt-repository ppa:openjdk-r/ppa && apt-get update && apt-get install -y openjdk-8-jdk && \
RUN buildDeps='software-properties-common git libtool cmake python-dev python3-pip python-pip libseccomp-dev' && \
apt-get update && apt-get install -y python python3.5 python-pkg-resources python3-pkg-resources gcc g++ $buildDeps && \
add-apt-repository ppa:openjdk-r/ppa && add-apt-repository ppa:longsleep/golang-backports && apt-get update && apt-get install -y golang-go openjdk-8-jdk && \