Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Default to ubuntu 22.04 with Python 3.12 #109

Merged
merged 8 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
JonZeolla marked this conversation as resolved.
Show resolved Hide resolved
# hadolint ignore=DL3008,DL3013
RUN apt-get update \
&& apt-get install -y --no-install-recommends software-properties-common \
gpg-agent \
JonZeolla marked this conversation as resolved.
Show resolved Hide resolved
&& add-apt-repository ppa:deadsnakes/ppa \
&& apt-get install -y --no-install-recommends python{{ cookiecutter.python_version }} \
python{{ cookiecutter.python_version }}-venv \
Expand Down
Loading