Update Dockerfile to fix build

Switched edge repo as openjdk out of testing, added rust dep llvm11-libs
This commit is contained in:
Zedifus 2021-11-05 15:50:10 +00:00
parent a93860ebd8
commit 0bb3350e69

View File

@ -3,9 +3,9 @@ FROM python:alpine
LABEL maintainer="Dockerfile created by Zedifus <https://gitlab.com/zedifus>"
# Install Packages, Build Dependencies & Garbage Collect & Harden
# (Testing repo is needed because jre16 is new)
# (Alpine Edge repo is needed because jre16 is new)
COPY requirements.txt /commander/requirements.txt
RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing openssl-dev rust cargo gcc musl-dev libffi-dev make openjdk8-jre-base openjdk11-jre-headless openjdk16-jre-headless mariadb-dev \
RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community llvm11-libs openssl-dev rust cargo gcc musl-dev libffi-dev make openjdk8-jre-base openjdk11-jre-headless openjdk16-jre-headless mariadb-dev \
&& pip3 install --no-cache-dir -r /commander/requirements.txt \
&& apk del --no-cache gcc musl-dev libffi-dev make rust cargo openssl-dev \
&& rm -rf /sbin/apk \