Skip to content

Commit

Permalink
feat: Default to ubuntu 22.04 with Python 3.12 (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonZeolla authored Feb 15, 2024
1 parent 04c70a7 commit e90b1be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }}",
"project_short_description": "TODO",
"project_owner_github_username": "jonzeolla",
"python_version": ["3.12", "3.11", "3.10", "3.9"],
"docker_base": ["ubuntu:20.04", "ubuntu:22.04", "ubuntu:23.04"],
"python_version": ["3.12", "3.11"],
"docker_base": ["ubuntu:22.04", "ubuntu:20.04", "ubuntu:23.04"],
"dockerhub": ["no", "yes"],
"versioning": ["CalVer", "SemVer-ish"],
"public": ["no", "yes"],
Expand Down
3 changes: 3 additions & 0 deletions {{cookiecutter.project_name|replace(" ", "")}}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@ LABEL org.opencontainers.image.source="https://github.com/SeisoLLC/{{ cookiecutt
LABEL org.opencontainers.image.revision="${COMMIT_HASH}"
LABEL org.opencontainers.image.licenses="{{ cookiecutter.license }}"

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

0 comments on commit e90b1be

Please sign in to comment.