Skip to content

Commit

Permalink
feat: ajustes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonveroneze committed Jan 11, 2025
1 parent e822c20 commit 7fe8941
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
9 changes: 6 additions & 3 deletions aspnet/Debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ RUN echo $TZ > /etc/timezone && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
dpkg-reconfigure -f noninteractive tzdata

RUN echo "locales locales/locales_to_be_generated multiselect pt_BR.UTF-8 UTF-8" | debconf-set-selections && \
rm /etc/locale.gen && \
dpkg-reconfigure --frontend noninteractive locales
RUN sed -i '/^# *pt_BR.UTF-8 UTF-8/s/^# //' /etc/locale.gen && \
locale-gen pt_BR.UTF-8 && \
update-locale LANG=pt_BR.UTF-8

COPY docker-entrypoint.sh /home/app

RUN chmod +x docker-entrypoint.sh && \
chown -R app:app /home/app

USER app

WORKDIR /home/app
Expand Down
1 change: 1 addition & 0 deletions aspnet/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ if [ -z "$ASSEMBLY_NAME" ]; then
fi

echo "- SYSTEM_OPERATION: $OS"
echo "- LANG: $LANG"
echo "- ASPNETCORE_ENVIRONMENT: $ASPNETCORE_ENVIRONMENT"
echo "- ASPNETCORE_HTTP_PORTS: $ASPNETCORE_HTTP_PORTS"
echo ""
Expand Down
1 change: 1 addition & 0 deletions net/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ if [ -z "$ASSEMBLY_NAME" ]; then
fi

echo "- SYSTEM_OPERATION: $OS"
echo "- LANG: $LANG"
echo "- ASPNETCORE_ENVIRONMENT: $ASPNETCORE_ENVIRONMENT"
echo ""
echo "- Run application: $ASSEMBLY_NAME"
Expand Down

0 comments on commit 7fe8941

Please sign in to comment.