1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-06-07 16:44:39 -04:00

Ensure fortune is installed

This patch uses python3's shutil to find the path
to fortune app, which can be very different depending on
the host OS that aprsd is running on.
This commit is contained in:
2020-12-20 17:16:15 -05:00
parent c39fddef67
commit 18b269a39d
4 changed files with 12 additions and 4 deletions
+1 -2
View File
@@ -10,7 +10,7 @@ ENV APRSD_BRANCH="master"
ENV VIRTUAL_ENV=$HOME/.venv3
ENV INSTALL=$HOME/install
RUN apk add --update git vim wget py3-pip py3-virtualenv bash
RUN apk add --update git vim wget py3-pip py3-virtualenv bash fortune
# Setup Timezone
ENV TZ=US/Eastern
@@ -19,7 +19,6 @@ ENV TZ=US/Eastern
#RUN dpkg-reconfigure --frontend noninteractive tzdata
RUN addgroup --gid 1001 $APRS_USER
RUN adduser --help
RUN adduser -h $HOME -D -u 1001 -G $APRS_USER $APRS_USER
ENV LC_ALL=C.UTF-8