Skip to content

Commit

Permalink
auto upgrade pip to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
11notes committed Sep 16, 2024
1 parent 42bc874 commit e294245
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
maintain/
project*
project*
build
20 changes: 12 additions & 8 deletions amd64.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,19 @@
mkdir -p ${APP_ROOT}/var; \
mkdir -p ${APP_ROOT}/ssl;

# :: install application
# :: install application
RUN set -ex; \
apk add --no-cache --update \
radicale=${APP_VERSION}${APP_RC} \
openssl \
py3-pip \
py3-ldap3; \
python3 -m pip install radicale[bcrypt] --break-system-packages; \
python3 -m pip install --upgrade pip; \
apk add --no-cache --update \
radicale=${APP_VERSION}${APP_RC} \
openssl \
py3-pip \
py3-ldap3;

RUN set -ex; \
python3 -m pip install --upgrade pip --break-system-packages; \
python3 -m pip install radicale[bcrypt] --break-system-packages;

RUN set -ex; \
apk --no-cache --update \
upgrade;

Expand Down
10 changes: 7 additions & 3 deletions arm64v8.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@
radicale=${APP_VERSION}${APP_RC} \
openssl \
py3-pip \
py3-ldap3; \
python3 -m pip install radicale[bcrypt] --break-system-packages; \
python3 -m pip install --upgrade pip; \
py3-ldap3;

RUN set -ex; \
python3 -m pip install --upgrade pip --break-system-packages; \
python3 -m pip install radicale[bcrypt] --break-system-packages;

RUN set -ex; \
apk --no-cache --update \
upgrade;

Expand Down

0 comments on commit e294245

Please sign in to comment.