Files
charts/containers/base/alpine/Dockerfile
TrueCharts Bot 3f53d8eeab chore(container): update alpine docker tag to v3.21.0 (#30164)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| alpine | final | minor | `3.20.3` -> `3.21.0` |
| alpine | stage | minor | `3.20.3` -> `3.21.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44Mi45IiwidXBkYXRlZEluVmVyIjoiMzkuODIuOSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->

Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
Co-authored-by: Kjeld Schouten <info@kjeldschouten.nl>
2024-12-29 14:50:58 +01:00

43 lines
1.2 KiB
Docker

FROM alpine:3.21.0@sha256:21dc6063fd678b478f57c0e13f47560d0ea4eeba26dfc947b2a4f81f686b9f45
ARG CONTAINER_NAME
ARG CONTAINER_VER
ENV XDG_CONFIG_HOME=/config
ENV UMASK=0002
USER root
SHELL ["/bin/sh", "-o", "pipefail", "-c"]
WORKDIR /app
# hadolint ignore=DL3018
RUN \
apk update && apk add --no-cache jq nano ca-certificates bash util-linux coreutils grep procps \
&& addgroup apps -g 568 \
&& adduser apps -u 568 -g 568 -D -S -H \
&& mkdir -p /config \
&& chown -R apps:apps /config \
&& chmod -R 775 /config \
&& chown -R apps:apps /app \
&& chmod -R 775 /app \
&& update-ca-certificates
VOLUME [ "/config" ]
USER apps
COPY ./containers/base/alpine/entrypoint.sh /entrypoint.sh
COPY ./containers/base/alpine/shim /etc/profile.d
ENTRYPOINT ["/bin/ash", "--"]
LABEL org.opencontainers.image.licenses="BSD-3-Clause"
LABEL org.opencontainers.image.title="${CONTAINER_NAME}"
LABEL "maintainer"="TrueCharts <info@truecharts.org>"
LABEL "org.opencontainers.image.source"="https://github.com/truecharts/containers"
LABEL org.opencontainers.image.version="${CONTAINER_VER}"
LABEL org.opencontainers.image.description="Container for ${CONTAINER_NAME} by TrueCharts"
LABEL org.opencontainers.image.authors="TrueCharts"