Skip to content

Commit

Permalink
feat: Update Python to 3.10 (#70)
Browse files Browse the repository at this point in the history
* Update base image to python:3.10-slim-bullseye for Debian build.
  • Loading branch information
matthewfeickert authored Jun 23, 2023
1 parent dd59400 commit 9a81991
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ default: image
all: image

image:
docker pull python:3.9-slim-bullseye
docker pull python:3.10-slim-bullseye
docker build . \
-f docker/debian/Dockerfile \
--build-arg BUILDER_IMAGE=python:3.9-slim-bullseye \
--build-arg BUILDER_IMAGE=python:3.10-slim-bullseye \
--build-arg HEPMC_VERSION=2.06.11 \
--build-arg FASTJET_VERSION=3.3.4 \
--build-arg LHAPDF_VERSION=6.5.3 \
Expand All @@ -17,10 +17,10 @@ image:
--compress

test:
docker pull python:3.9-slim-bullseye
docker pull python:3.10-slim-bullseye
docker build . \
-f docker/debian/Dockerfile \
--build-arg BUILDER_IMAGE=python:3.9-slim-bullseye \
--build-arg BUILDER_IMAGE=python:3.10-slim-bullseye \
--build-arg HEPMC_VERSION=2.06.11 \
--build-arg FASTJET_VERSION=3.3.4 \
--build-arg LHAPDF_VERSION=6.5.3 \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Docker image for Python 3 compliant [MadGraph5_aMC@NLO](https://launchpad.net/mg
The Docker image contains:

* [MadGraph5_aMC@NLO](https://launchpad.net/mg5amcnlo) `v3.5.0`
* Python 3.9
* Python 3.10 (3.9 CentOS)
* [HepMC2](http://hepmc.web.cern.ch/hepmc/) `v2.06.11`
* [LHAPDF](https://lhapdf.hepforge.org/) `v6.5.3`
* [FastJet](http://fastjet.fr/) `v3.3.4`
Expand Down
2 changes: 1 addition & 1 deletion docker/debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILDER_IMAGE=python:3.9-slim-bullseye
ARG BUILDER_IMAGE=python:3.10-slim-bullseye
FROM ${BUILDER_IMAGE} as base

FROM base as builder
Expand Down

0 comments on commit 9a81991

Please sign in to comment.