Updated Dockerfiles

This commit is contained in:
saundersp 2024-06-28 20:04:33 +02:00
parent 8565ce782b
commit 1ec28f78de
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
FROM alpine:3.20.0 FROM alpine:3.20.1
RUN apk add --no-cache curl=8.7.1-r0 python3=3.12.3-r1 && rm -rf /var/cache/apk* RUN apk add --no-cache curl=8.8.0-r0 python3=3.12.3-r1 && rm -rf /var/cache/apk*
WORKDIR /home/ViolaJones/downloader WORKDIR /home/ViolaJones/downloader
COPY requirements.txt activate.sh ./ COPY requirements.txt activate.sh ./

View File

@ -1,8 +1,8 @@
FROM nvidia/cuda:12.5.0-devel-ubi9 as builder FROM nvidia/cuda:12.5.0-devel-ubi9 as builder
RUN dnf install -y python3.11-3.11.7-1.el9 \ RUN dnf install -y python3.12-3.12.1-4.el9 \
&& dnf clean all \ && dnf clean all \
&& ln -s /usr/bin/python3 /usr/bin/python && ln -s /usr/bin/python3.12 /usr/bin/python
WORKDIR /home/ViolaJones/python WORKDIR /home/ViolaJones/python
COPY Makefile activate.sh requirements.txt ./ COPY Makefile activate.sh requirements.txt ./