Merge pull request #453 from miaowware/xbps-update

Dockerfile: ensure system update works
This commit is contained in:
0x5c 2022-10-11 19:57:13 -04:00 committed by GitHub
commit b472cdfa25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM ghcr.io/void-linux/void-linux:latest-mini-x86_64
FROM ghcr.io/void-linux/void-linux:latest-full-x86_64-musl
LABEL org.opencontainers.image.source https://github.com/miaowware/qrm2
COPY . /app
@ -11,9 +11,10 @@ ARG GID 1000
RUN \
echo "**** update system ****" && \
xbps-install -SuyM -R ${REPOSITORY} && \
xbps-install -Suy xbps -R ${REPOSITORY} && \
xbps-install -uy -R ${REPOSITORY} && \
echo "**** install system packages ****" && \
xbps-install -yM -R ${REPOSITORY} ${PKGS} python3 python3-pip && \
xbps-install -y -R ${REPOSITORY} ${PKGS} python3 python3-pip && \
echo "**** install pip packages ****" && \
pip3 install -U pip setuptools wheel && \
pip3 install -r requirements.txt && \