Skip to content

Commit

Permalink
update Dockerfile to use py3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
getzze committed Jun 24, 2024
1 parent 8806cd1 commit e77fd76
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9.19-alpine3.20
FROM python:3.12-alpine

MAINTAINER Antoine Bertin <diaoulael@gmail.com>

Expand All @@ -8,8 +8,7 @@ ARG UNRAR_VERSION=6.2.6

RUN \
if [ "$BUILD_WITH_UNRAR" = true ]; then \
apk add -U --update --no-cache --virtual=build-dependencies \
build-base curl && \
apk add -U --update --no-cache --virtual=build-dependencies build-base curl && \
echo "**** install unrar from source ****" && \
mkdir /tmp/unrar && \
curl -o /tmp/unrar.tar.gz -L "https://www.rarlab.com/rar/unrarsrc-${UNRAR_VERSION}.tar.gz" && \
Expand All @@ -19,7 +18,7 @@ if [ "$BUILD_WITH_UNRAR" = true ]; then \
install -v -m755 unrar /usr/local/bin && \
apk del build-dependencies curl && \
rm -rf /tmp/unrar /tmp/unrar.tar.gz; \
fi
fi

RUN mkdir -p /usr/src/app /usr/src/cache

Expand Down

0 comments on commit e77fd76

Please sign in to comment.