Explorar o código

adjusted dockerfile

xiaoct %!s(int64=7) %!d(string=hai) anos
pai
achega
3f35f3cbdc
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      Dockerfile

+ 3 - 3
Dockerfile

@@ -12,9 +12,9 @@ RUN apt-get update
 RUN apt-get install -y software-properties-common
 RUN apt-get install -y software-properties-common
 RUN add-apt-repository ppa:webupd8team/java
 RUN add-apt-repository ppa:webupd8team/java
 RUN apt-get update
 RUN apt-get update
-RUN apt-get -f install -y curl unzip default-jdk wget
-RUN apt-get -y oracle-java8-installer 
-RUN apt-get -y oracle-java8-set-default
+RUN apt-get -f install -y curl unzip wget
+RUN apt-get -y install oracle-java8-installer 
+RUN apt-get -y install oracle-java8-set-default
 RUN curl --insecure -o ./sonarscanner.zip -L https://sonarsource.bintray.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.2.0.1227-linux.zip
 RUN curl --insecure -o ./sonarscanner.zip -L https://sonarsource.bintray.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.2.0.1227-linux.zip
 RUN unzip sonarscanner.zip
 RUN unzip sonarscanner.zip
 RUN rm sonarscanner.zip
 RUN rm sonarscanner.zip