mirror of
https://github.com/craigerl/aprsd.git
synced 2025-02-03 09:44:15 -05:00
Update Docker builds for 3.0.0
This commit is contained in:
parent
4a10511d8b
commit
38725907f3
@ -6,7 +6,7 @@ FROM ubuntu:22.04 as aprsd
|
|||||||
ARG UID
|
ARG UID
|
||||||
ARG GID
|
ARG GID
|
||||||
ARG TZ
|
ARG TZ
|
||||||
ARG VERSION=2.6.0
|
ARG VERSION=3.0.0
|
||||||
ARG BUILDX_QEMU_ENV
|
ARG BUILDX_QEMU_ENV
|
||||||
ENV APRS_USER=aprs
|
ENV APRS_USER=aprs
|
||||||
ENV HOME=/home/aprs
|
ENV HOME=/home/aprs
|
||||||
@ -24,6 +24,8 @@ RUN apt install -y git build-essential
|
|||||||
RUN apt install -y libffi-dev python3-dev libssl-dev libxml2-dev libxslt-dev
|
RUN apt install -y libffi-dev python3-dev libssl-dev libxml2-dev libxslt-dev
|
||||||
RUN apt install -y python3 python3-pip python3-dev python3-lxml
|
RUN apt install -y python3 python3-pip python3-dev python3-lxml
|
||||||
|
|
||||||
|
RUN pip3 install -U pip
|
||||||
|
|
||||||
RUN addgroup --gid $GID $APRS_USER
|
RUN addgroup --gid $GID $APRS_USER
|
||||||
RUN useradd -m -u $UID -g $APRS_USER $APRS_USER
|
RUN useradd -m -u $UID -g $APRS_USER $APRS_USER
|
||||||
|
|
||||||
@ -36,7 +38,7 @@ RUN if [ "${BUILDX_QEMU_ENV}" = "true" -a "$(getconf LONG_BIT)" = "32" ]; then \
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install aprsd
|
# Install aprsd
|
||||||
RUN pip install aprsd==$APRSD_PIP_VERSION
|
RUN pip3 install aprsd==$APRSD_PIP_VERSION
|
||||||
|
|
||||||
# Ensure /config is there with a default config file
|
# Ensure /config is there with a default config file
|
||||||
USER root
|
USER root
|
||||||
|
@ -25,7 +25,7 @@ DEV=0
|
|||||||
REBUILD_BUILDX=0
|
REBUILD_BUILDX=0
|
||||||
TAG="latest"
|
TAG="latest"
|
||||||
BRANCH=${BRANCH:-master}
|
BRANCH=${BRANCH:-master}
|
||||||
VERSION="2.6.0"
|
VERSION="3.0.0"
|
||||||
|
|
||||||
while getopts “hdart:b:v:” OPTION
|
while getopts “hdart:b:v:” OPTION
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user