Skip to content

Commit e90b1be

Browse files
authored
feat: Default to ubuntu 22.04 with Python 3.12 (#109)
1 parent 04c70a7 commit e90b1be

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

cookiecutter.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }}",
44
"project_short_description": "TODO",
55
"project_owner_github_username": "jonzeolla",
6-
"python_version": ["3.12", "3.11", "3.10", "3.9"],
7-
"docker_base": ["ubuntu:20.04", "ubuntu:22.04", "ubuntu:23.04"],
6+
"python_version": ["3.12", "3.11"],
7+
"docker_base": ["ubuntu:22.04", "ubuntu:20.04", "ubuntu:23.04"],
88
"dockerhub": ["no", "yes"],
99
"versioning": ["CalVer", "SemVer-ish"],
1010
"public": ["no", "yes"],

{{cookiecutter.project_name|replace(" ", "")}}/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ LABEL org.opencontainers.image.source="https://github.com/SeisoLLC/{{ cookiecutt
2121
LABEL org.opencontainers.image.revision="${COMMIT_HASH}"
2222
LABEL org.opencontainers.image.licenses="{{ cookiecutter.license }}"
2323

24+
# Set noninteractive as an arg so it's only available at build time
25+
ARG DEBIAN_FRONTEND=noninteractive
2426
# hadolint ignore=DL3008,DL3013
2527
RUN apt-get update \
2628
&& apt-get install -y --no-install-recommends software-properties-common \
29+
gpg-agent \
2730
&& add-apt-repository ppa:deadsnakes/ppa \
2831
&& apt-get install -y --no-install-recommends python{{ cookiecutter.python_version }} \
2932
python{{ cookiecutter.python_version }}-venv \

0 commit comments

Comments
 (0)