Browse Source

added argument --fix-mixing to allow continuing despite missing package source

xiaoct 7 years ago
parent
commit
d4d1edd75f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -7,8 +7,8 @@
 FROM ubuntu
 # File Author / Maintainer
 # MAINTAINER name Chunteng Xiao
-RUN apt-get update
-RUN apt-get install -y nodejs nginx npm curl
+RUN apt-get update --fix-missing
+RUN apt-get install -y nodejs nginx npm curl --fix-mixing
 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 rm sonarscanner.zip