Skip to content

Commit 1ecc43c

Browse files
committed
Update alpine, jemalloc, python dependency
1 parent 21a71b8 commit 1ecc43c

7 files changed

+23
-22
lines changed

.github/workflows/build_image.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
context: .
2323
file: Dockerfile-base
24-
tags: coscupweb-base:22.05.04
24+
tags: coscupweb-base:22.05.07
2525
load: true
2626
- name: List images
2727
run: docker images

Dockerfile-app

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM coscupweb-base:22.05.04
1+
FROM coscupweb-base:22.05.07
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.05.04
1+
FROM coscupweb-base:22.05.07
22

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

Dockerfile-base

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

33
WORKDIR /app
44
ADD pyproject.toml poetry.lock ./
@@ -8,8 +8,8 @@ RUN \
88
apk add --no-cache python3 ca-certificates libmemcached-dev && \
99
apk add --no-cache --virtual .build-deps curl cmake zlib-dev \
1010
g++ make gcc musl-dev python3-dev libffi-dev openssl-dev && \
11-
wget https://github.com/jemalloc/jemalloc/releases/download/5.2.1/jemalloc-5.2.1.tar.bz2 && \
12-
tar xvjf jemalloc-5.2.1.tar.bz2 && cd jemalloc-5.2.1 && ./configure && make && make install && \
11+
wget https://github.com/jemalloc/jemalloc/releases/download/5.3.0/jemalloc-5.3.0.tar.bz2 && \
12+
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 - && \
1515
find $HOME/.poetry/lib/poetry/_vendor/ -mindepth 1 -maxdepth 1 -not -name py3.9 -type d | xargs rm -rf && \

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.05.04 -f ./Dockerfile-base ./
1+
docker build --no-cache=true -t coscupweb-base:22.05.07 -f ./Dockerfile-base ./

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ services:
1919
- backend
2020

2121
webappbase:
22-
image: "coscupweb-base:22.05.04"
22+
image: "coscupweb-base:22.05.07"
2323
build:
2424
context: .
2525
dockerfile: ./Dockerfile-base

poetry.lock

+15-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)