Skip to content

Commit

Permalink
Python 3.9 tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Jan 5, 2025
1 parent 6dfdb8c commit 06a3bdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ci/base-images/debian/Dockerfile.dotnet6
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ ENV JAVA_VERSION=$JAVA_VERSION \
ENV PATH=${PATH}:/root/.nvm/versions/node/v${NODE_VERSION}/bin:${JAVA_HOME}/bin:${MAVEN_HOME}/bin:/usr/local/bin:/root/.local/bin:

COPY ci/base-images/debian/install.sh /tmp/
COPY ci/base-images/nuget /usr/lib/mono/nuget

RUN apt-get update && apt-get install -y --no-install-recommends curl bash bzip2 git-core zip unzip make gawk \
&& apt-get install -y build-essential mono-devel python3 python3-pip python3-dev \
Expand All @@ -31,7 +30,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends curl bash bzip2
&& echo -e '#!/bin/sh\nexec /usr/bin/mono /usr/lib/mono/nuget/nuget.exe "$@"\n' > /usr/bin/nuget \
&& chmod +x /usr/bin/nuget \
&& rm -rf /usr/lib/mono/nuget \
&& nuget help \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& rm -rf /var/lib/apt/lists/*
COPY ci/base-images/nuget /usr/lib/mono/nuget
CMD /bin/bash
2 changes: 1 addition & 1 deletion ci/base-images/opensuse/Dockerfile.python39
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN set -e; \
;; \
*) echo >&2 "error: unsupported architecture: '$ARCH_NAME'"; exit 1 ;; \
esac \
&& zypper refresh && zypper --non-interactive dup && zypper --non-interactive install -l --no-recommends gcc12 gcc12-c++ gcc12-fortran \
&& zypper --non-interactive install -l --no-recommends gcc12 gcc12-c++ gcc12-fortran \
python39 python39-devel python39-pip findutils java-23-openjdk-devel \
bzip2 git-core wget zip unzip make gawk nodejs22 npm22 nodejs22-devel libxml2-devel \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 10 \
Expand Down

0 comments on commit 06a3bdb

Please sign in to comment.