File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313 steps :
1414 - uses : actions/checkout@v4.2.2
15+
1516 - name : Build the Docker image
1617 env :
1718 # @see https://testdriven.io/blog/faster-ci-builds-with-docker-cache/
2122 docker build . \
2223 --cache-from $CACHE_IMAGE \
2324 --tag ${{ github.repository }}
25+
26+ - name : Show details
27+ run : |
2428 docker images
29+ docker run --rm ${{ github.repository }} pip list
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ RUN apk update &&\
1616 apk add --no-cache --virtual .build-deps \
1717 build-base \
1818 gcc \
19+ git \
1920 libffi-dev \
2021 mariadb-dev &&\
2122 pip install --upgrade pip && pip install -r /tmp/requirements.txt \
@@ -25,6 +26,6 @@ RUN apk update &&\
2526
2627# tag an image
2728ARG GITHUB_SHA
28- ENV GITHUB_SHA ${GITHUB_SHA}
29+ ENV GITHUB_SHA= ${GITHUB_SHA}
2930
3031RUN python -V; pip list; env
Original file line number Diff line number Diff line change @@ -19,20 +19,21 @@ Python 3.13.0
1919
2020$ pip list
2121Package Version
22- -------------- ---------
22+ -------------- ------------------
2323cffi 1.17.1
2424gevent 24.11.1
2525greenlet 3.1.1
26- mysqlclient 2.2.5
26+ msgspec 0.18.6+30.g595c33c
27+ mysqlclient 2.2.6
2728pip 24.3.1
2829pycparser 2.22
29- rcssmin 1.1.3
30+ rcssmin 1.2.0
3031regex 2024.11.6
31- setuptools 75.4 .0
32+ setuptools 75.5 .0
3233zope.event 5.0
3334zope.interface 7.1.1
3435
3536$ docker images | head -n2
3637REPOSITORY TAG IMAGE ID CREATED SIZE
37- pigs-will-fly/docker-python latest c94c5a7075da 1 second ago 137MB
38+ pigs-will-fly/docker-python latest db014e358895 1 second ago 140MB
3839```
Original file line number Diff line number Diff line change 11cffi
22gevent == 24.11.1
3+ msgspec @ git+https://github.com/jcrist/msgspec@595c33c4a71c6d0c539b82233982a65819e240cf
34mysqlclient == 2.2.6
45regex == 2024.11.6
56rcssmin == 1.2.0
You can’t perform that action at this time.
0 commit comments