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

Packaging: Finally add python3-dev to OCI image building #934

Merged
merged 1 commit into from
May 3, 2023
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 .github/release/full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN \
&& apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests --yes \
git build-essential ca-certificates \
python-is-python3 python3-h5py python3-pip python3-wheel python3-venv
python-is-python3 python3-h5py python3-dev python3-pip python3-venv python3-wheel

# Use Python 3.11.
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.11 0
Expand Down Expand Up @@ -41,7 +41,7 @@ RUN --mount=type=cache,id=pip,target=/root/.cache/pip \

# Uninstall build prerequisites again.
RUN true \
&& apt-get --yes remove --purge git build-essential python3-pip python3-wheel python3-venv \
&& apt-get --yes remove --purge git build-essential python3-dev python3-pip python3-venv python3-wheel \
&& apt-get --yes autoremove

# Purge /tmp directory
Expand Down
4 changes: 2 additions & 2 deletions .github/release/standard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN \
true \
&& apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests --yes \
git build-essential python3-pip python3-wheel python3-venv
git build-essential python3-dev python3-pip python3-venv python3-wheel

# Use "poetry build --format=wheel" to build wheel packages.
COPY dist/wetterdienst-*.whl /tmp/
Expand All @@ -26,7 +26,7 @@ RUN --mount=type=cache,id=pip,target=/root/.cache/pip \

# Uninstall build prerequisites again.
RUN true \
&& apt-get --yes remove --purge git build-essential python3-pip python3-wheel python3-venv \
&& apt-get --yes remove --purge git build-essential python3-dev python3-pip python3-venv python3-wheel \
&& apt-get --yes autoremove

# Purge /tmp directory
Expand Down