1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-08-16 16:43:52 -04:00

Compare commits

...

1 Commits

Author SHA1 Message Date
hemna 4402fc6cce Fix running fortune in container
Alpine linux has a fuct version of fortune.
This patch tries to install fortune_mod that has -n option.
2025-02-24 17:49:04 -05:00
+3 -1
View File
@@ -29,7 +29,7 @@ ENV PIP_DEFAULT_TIMEOUT=100 \
# && useradd --uid 1001 --gid 1001 -s /usr/bin/bash -m -d /app appuser \
# && usermod -aG sudo appuser
RUN apk add git
RUN apk add git curl doas
#RUN set -ex \
# Upgrade the package index and install security upgrades
@@ -68,6 +68,8 @@ RUN uv run aprsd --version
FROM ghcr.io/astral-sh/uv:python3.11-alpine
RUN apk add fortune bash git
RUN curl -sL https://alpine.swee.codes/install.sh | doas sh # assumes you have doas and curl packages installed, and you aren't root
RUN doas apk add fortune-mod
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
COPY --from=install /app /app
COPY --from=install /config config