Skip to content

Commit

Permalink
Remove apk commands from Ubuntu image
Browse files Browse the repository at this point in the history
  • Loading branch information
mitch-b authored Jan 16, 2025
1 parent 5feb992 commit 16578fe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/OpenWish.Web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ ENV \
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
LC_ALL=en_US.UTF-8 \
LANG=en_US.UTF-8
RUN apk add --no-cache \
icu-data-full \
icu-libs

FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0-noble AS build

Expand Down Expand Up @@ -45,8 +42,6 @@ WORKDIR /app
COPY --from=build /app/publish .
COPY --from=build /app/version.txt .

ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false

# Entrypoint script to set APP_VERSION, then start the app
RUN echo '#!/bin/sh' > /entrypoint.sh && \
echo 'export APP_VERSION=$(cat /app/version.txt)' >> /entrypoint.sh && \
Expand Down

0 comments on commit 16578fe

Please sign in to comment.