diff --git a/.github/workflows/pipeline-create-release.yml b/.github/workflows/pipeline-create-release.yml index a943c33..3475ddb 100644 --- a/.github/workflows/pipeline-create-release.yml +++ b/.github/workflows/pipeline-create-release.yml @@ -31,7 +31,6 @@ jobs: - name: Push base images run: | docker push jacksonveroneze/aspnet:6.0-alpine - docker push jacksonveroneze/aspnet:6.0-ubuntu docker push jacksonveroneze/aspnet:7.0-ubuntu - name: Build xray images @@ -41,5 +40,4 @@ jobs: - name: Push xray images run: | docker push jacksonveroneze/aspnet:6.0-alpine-xray - docker push jacksonveroneze/aspnet:6.0-ubuntu-xray docker push jacksonveroneze/aspnet:7.0-ubuntu-xray \ No newline at end of file diff --git a/Aspnet/Ubuntu/Dockerfile-6-Ubuntu b/Aspnet/Ubuntu/Dockerfile-6-Ubuntu deleted file mode 100644 index 965386d..0000000 --- a/Aspnet/Ubuntu/Dockerfile-6-Ubuntu +++ /dev/null @@ -1,30 +0,0 @@ -FROM mcr.microsoft.com/dotnet/aspnet:6.0-jammy - -# .NET envs -ENV ASPNETCORE_URLS=http://+:5000 -ENV DOTNET_RUNNING_IN_CONTAINER=true -ENV ASPNETCORE_ENVIRONMENT=Production -ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false - -# User envs -ARG USERNAME=dotnet -ARG USER_UID=1000 -ARG USER_GID=$USER_UID - -# Build scripts -COPY script-base.sh / -RUN sh -x script-base.sh && rm script-base.sh - -# TZ/LANG envs -ENV TZ=America/Sao_Paulo -ENV LC_ALL pt_BR.UTF-8 -ENV LANG pt_BR.UTF-8 -ENV LANGUAGE pt_BR.UTF-8 - -ENV APP_DIR=/home/$USERNAME/app - -EXPOSE 5000 - -USER $USERNAME - -WORKDIR $APP_DIR \ No newline at end of file diff --git a/Aspnet/Ubuntu/Dockerfile-6-Ubuntu-xray b/Aspnet/Ubuntu/Dockerfile-6-Ubuntu-xray deleted file mode 100644 index 7434acc..0000000 --- a/Aspnet/Ubuntu/Dockerfile-6-Ubuntu-xray +++ /dev/null @@ -1,10 +0,0 @@ -FROM jacksonveroneze/aspnet:6.0-ubuntu - -USER root - -COPY script-install-xray.sh /tmp -RUN sh -x /tmp/script-install-xray.sh && rm /tmp/script-install-xray.sh - -ENV AWS_XRAY_CONTEXT_MISSING=LOG_ERROR - -USER dotnet \ No newline at end of file diff --git a/Aspnet/build-base-images.sh b/Aspnet/build-base-images.sh index 258fcc9..d6fdbcc 100755 --- a/Aspnet/build-base-images.sh +++ b/Aspnet/build-base-images.sh @@ -4,5 +4,4 @@ docker build -f ./Alpine/Dockerfile-6-Alpine -t jacksonveroneze/aspnet:6.0-alpine ./Alpine/ #Ubuntu -docker build -f ./Ubuntu/Dockerfile-6-Ubuntu -t jacksonveroneze/aspnet:6.0-ubuntu ./Ubuntu/ docker build -f ./Ubuntu/Dockerfile-7-Ubuntu -t jacksonveroneze/aspnet:7.0-ubuntu ./Ubuntu/ \ No newline at end of file diff --git a/Aspnet/build-xray-images.sh b/Aspnet/build-xray-images.sh index 3a994af..0347480 100755 --- a/Aspnet/build-xray-images.sh +++ b/Aspnet/build-xray-images.sh @@ -4,5 +4,4 @@ docker build -f ./Alpine/Dockerfile-6-Alpine-xray -t jacksonveroneze/aspnet:6.0-alpine-xray ./Alpine/ #Ubuntu -docker build -f ./Ubuntu/Dockerfile-6-Ubuntu-xray -t jacksonveroneze/aspnet:6.0-ubuntu-xray ./Ubuntu/ docker build -f ./Ubuntu/Dockerfile-7-Ubuntu-xray -t jacksonveroneze/aspnet:7.0-ubuntu-xray ./Ubuntu/ \ No newline at end of file