From 57866a77344ca81c59fd8b4c486571405606351f Mon Sep 17 00:00:00 2001 From: David Bernick Date: Fri, 26 Jun 2020 20:50:57 -0400 Subject: [PATCH 1/2] Update Dockerfile --- ui/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/Dockerfile b/ui/Dockerfile index 2ec71ec81..f02e66e73 100644 --- a/ui/Dockerfile +++ b/ui/Dockerfile @@ -21,7 +21,7 @@ RUN npm install RUN /ui/node_modules/.bin/ng build --prod -FROM nginx +FROM nginx:1.19.0 COPY --from=1 /ui/dist /ui/dist ADD ./ui/nginx.prod.conf /etc/nginx/nginx.conf From 862b0f98607b2e28d9dacc5673d21723cc829f70 Mon Sep 17 00:00:00 2001 From: David Bernick Date: Fri, 26 Jun 2020 21:12:50 -0400 Subject: [PATCH 2/2] Update maven2 repo --- scripts/rebuild_swagger.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/rebuild_swagger.sh b/scripts/rebuild_swagger.sh index 2a4f6f5d0..f1eba3767 100755 --- a/scripts/rebuild_swagger.sh +++ b/scripts/rebuild_swagger.sh @@ -20,11 +20,11 @@ function download_codegen() { if [[ ! -e "swagger-codegen-cli.jar" ]] then if [[ -e "$(command -v wget)" ]]; then - wget http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.3/swagger-codegen-cli-2.2.3.jar -O swagger-codegen-cli.jar + wget https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.3/swagger-codegen-cli-2.2.3.jar -O swagger-codegen-cli.jar elif [[ -e "$(command -v curl)" ]]; then - curl http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.3/swagger-codegen-cli-2.2.3.jar > swagger-codegen-cli.jar + curl https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.3/swagger-codegen-cli-2.2.3.jar > swagger-codegen-cli.jar else - "Cannot download 'http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.3/swagger-codegen-cli-2.2.3.jar' automatically (no curl or wget found on PATH)" + "Cannot download 'https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.3/swagger-codegen-cli-2.2.3.jar' automatically (no curl or wget found on PATH)" "You can download it manually into this directory to continue" exit 1 fi