Skip to content

Commit f06cd9f

Browse files
committed
Upgrade alpine to 3.16.1, py3.10 and libs
Signed-off-by: Toomore Chiang <[email protected]>
1 parent f02d887 commit f06cd9f

7 files changed

+274
-296
lines changed

Dockerfile-app

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM coscupweb-base:22.06.13
1+
FROM coscupweb-base:22.08.05
22

33
ADD ./client_secret.json ./client_secret.json
44
ADD ./privacy.md ./privacy.md

Dockerfile-app-dev

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM coscupweb-base:22.06.13
1+
FROM coscupweb-base:22.08.05
22

33
#ADD ./client_secret.json ./client_secret.json
44
ADD ./cmdtools ./cmdtools

Dockerfile-base

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.15.4
1+
FROM alpine:3.16.1
22

33
WORKDIR /app
44
ADD pyproject.toml poetry.lock ./
@@ -12,7 +12,7 @@ RUN \
1212
tar xvjf jemalloc-5.3.0.tar.bz2 && cd jemalloc-5.3.0 && ./configure && make && make install && \
1313
cd ../ && rm -rf ./jemalloc* && \
1414
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - && \
15-
find $HOME/.poetry/lib/poetry/_vendor/ -mindepth 1 -maxdepth 1 -not -name py3.9 -type d | xargs rm -rf && \
15+
find $HOME/.poetry/lib/poetry/_vendor/ -mindepth 1 -maxdepth 1 -not -name py3.10 -type d | xargs rm -rf && \
1616
poetry install --no-dev
1717

1818

Dockerfile-base-dev

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.15.4
1+
FROM alpine:3.16.1
22

33
WORKDIR /app
44
ADD pyproject.toml poetry.lock ./
@@ -12,7 +12,7 @@ RUN \
1212
tar xvjf jemalloc-5.3.0.tar.bz2 && cd jemalloc-5.3.0 && ./configure && make && make install && \
1313
cd ../ && rm -rf ./jemalloc* && \
1414
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - && \
15-
find $HOME/.poetry/lib/poetry/_vendor/ -mindepth 1 -maxdepth 1 -not -name py3.9 -type d | xargs rm -rf && \
15+
find $HOME/.poetry/lib/poetry/_vendor/ -mindepth 1 -maxdepth 1 -not -name py3.10 -type d | xargs rm -rf && \
1616
poetry install
1717

1818

build-base.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
docker build --no-cache=true -t coscupweb-base:22.06.13 -f ./Dockerfile-base ./
1+
docker build --no-cache=true -t coscupweb-base:22.08.05 -f ./Dockerfile-base ./

0 commit comments

Comments
 (0)