An application for (manually) tracking your grocery shopping habits.
ADD alpine-minirootfs-3.21.3-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
ENV APP_UID=1654 ASPNETCORE_HTTP_PORTS=8080 DOTNET_RUNNING_IN_CONTAINER=true DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true |
RUN /bin/sh -c apk add --upgrade --no-cache ca-certificates-bundle libgcc libssl3 libstdc++ # buildkit |
RUN /bin/sh -c addgroup --gid=$APP_UID app && adduser --uid=$APP_UID --ingroup=app --disabled-password app # buildkit |
ENV DOTNET_VERSION=10.0.0-preview.1.25080.5 ASPNET_VERSION=10.0.0-preview.1.25120.3 |
RUN /bin/sh -c wget -O dotnet.tar.gz https://ci.dot.net/public/aspnetcore/Runtime/$ASPNET_VERSION/aspnetcore-runtime-composite-$ASPNET_VERSION-linux-musl-x64.tar.gz && dotnet_sha512='ce56388e2cf567bbae78be9e63b7bac5a5f00202357f60c3b68d98d09b5fcc2ae281811cf163192e51a3bce0f3e655927438346a5648b9dfcf85c360993d71d7' && echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - && mkdir -p /usr/share/dotnet && tar -oxzf dotnet.tar.gz -C /usr/share/dotnet && rm dotnet.tar.gz && ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
WORKDIR /groceries |
COPY /out . # buildkit |
COPY /src/Groceries/config.ini /config/ # buildkit |
RUN /bin/sh -c apk add --no-cache icu-libs tzdata # buildkit |
ENV ASPNETCORE_FORWARDEDHEADERS_ENABLED=true |
ENV ASPNETCORE_HTTP_PORTS=80 |
ENV DOTNET_ENABLEDIAGNOSTICS=0 |
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false |
EXPOSE map[80/tcp:{}] |
VOLUME [/config] |
ENTRYPOINT ["./Groceries" "--data" "/config"] |
Key |
Value |
org.opencontainers.image.created |
2025-03-12T00:01:07.252Z |
org.opencontainers.image.description |
An application for (manually) tracking your grocery shopping habits. |
org.opencontainers.image.licenses |
|
org.opencontainers.image.revision |
ba5766f9d5ff114276cbc1f4ade191aa0d38153c |
org.opencontainers.image.source |
https://git.jamsch0.dev/jamsch0/groceries |
org.opencontainers.image.title |
groceries |
org.opencontainers.image.url |
https://git.jamsch0.dev/jamsch0/groceries |
org.opencontainers.image.version |
latest |