From 748458b96ebb6485ab32e8176ee30e587f0ba21d Mon Sep 17 00:00:00 2001 From: Tobeyw Date: Fri, 2 Feb 2024 13:51:50 +0800 Subject: [PATCH] update Dockerfile --- neo3fura_http/Dockerfile | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/neo3fura_http/Dockerfile b/neo3fura_http/Dockerfile index dac4d86..eadecaf 100644 --- a/neo3fura_http/Dockerfile +++ b/neo3fura_http/Dockerfile @@ -22,23 +22,19 @@ RUN dpkg -i packages-microsoft-prod.deb RUN rm packages-microsoft-prod.deb -RUN apt-get update +RUN apt-get clean && \ + apt-get update RUN apt-get install -y apt-transport-https -RUN apt-get update - -RUN apt-get install -y dotnet-sdk-5.0 - -RUN apt-get install -y aspnetcore-runtime-5.0 +RUN apt-get install -y dotnet-sdk-5.0 && \ + apt-get install -y aspnetcore-runtime-5.0 RUN tar -xvf compiler.tar.gz -RUN chmod 777 compiler/a/nccs - -RUN chmod 777 compiler/c/nccs - -RUN chmod 777 compiler/b/nccs +RUN chmod 777 compiler/a/nccs && \ + chmod 777 compiler/c/nccs && \ + chmod 777 compiler/b/nccs RUN go build -o main app/neo3fura/src.go