Comments (11)
Is there a reason that you couldn't install python-is-python3
yourself at the top of your dockerfile?
from containers.
We are running our builds in K8s using Jenkins and we are using the Adoptium image as the container in which to run the Java builds. If possible, I would like to avoid having to build my own container just for this tiny package, and since it seemed like a change which would in line with what the Ubuntu release notes suggest, I thought I'd ask π
from containers.
Hi @pgerhard - The Ubuntu release notes suggest users install Python 3 themselves. As we're trying to provide the smallest diff from a bare-bones base image as possible I'm afraid we'll have to ask users to add this for themselves.
from containers.
@karianna thats fine by me. However I curious as to where in the release notes you found the passage stating that users should install Python 3 themselves. In case it really says this then I am surprised that the Eclipse Temurin images provide Python 3 by default (/usr/bin/python3
is already there). This appears to contradict your statement
from containers.
Hmmm I need to go and reread clealry!
from containers.
I was referring to the section which reads:
Users who require /usr/bin/python for compatibility on newly-installed systems are encouraged to install the python-is-python3 package, for a /usr/bin/python pointing to python3 instead.
My interpretation of that is its steps to take if you (the user) want Python on your base O/S image.
from containers.
@karianna ah ok. Well you technically already have Python installed, its is available as /usr/bin/python3
by default. All the package python-is-python3
package does is create a symlink that points /usr/bin/python
(which is NOT available by default) to /usr/bin/python3
.
This really is a quality of life thing, but since must people are used to invoking a tool (such as a Java, Node and also Python) using the name of the tool (such as java -version
) and not having to specify a version, I think it would be a nice addition to this image if Python behaved the same way as the others. Its not a huge deal having to write python3 -v
instead of python -v
but it does appear to break with convention when compared to the other tools/languages, such as Java.
from containers.
from containers.
@karianna No worries and also thank you for taking the time to respond me after this was issue is technically already closed. Speaking of which, since you're checking with the other maintainers, should this be re-opened for the time being?
from containers.
@gdams - Can we weave this into our auto-generated images for official DockerHub?
from containers.
After the PRs have been merged I'll go ahead and close this. @gdams if you have any objections please let me know and thank you for all the work you do on this project π
from containers.
Related Issues (20)
- [Bug]: Rebuild Alpine Docker images to get rid of CVE-2023-52425 HOT 14
- armv7 docker images for OpenJDK 21 HOT 8
- [Bug]: eclipse-temurin:17.0.10_7-jre uses ubuntu 22.04 which has several vulnerabilities HOT 2
- [Bug]: SSL Handshake exception using JDK 21 Alpine image HOT 3
- - HOT 1
- Ubuntu Noble flavor? HOT 7
- Add Multi-JDK images for testing purposes
- Update documentation for CA certificate support changes HOT 5
- {Enhancement] Request for Docker Builds of OpenJDK for Ubuntu Noble (24.04) HOT 1
- [Bug]: not able to build the image HOT 2
- [Bug]: Not able to pull images from this repository HOT 1
- Support for arm64, temurin 17 and alpine? HOT 3
- Distroless image support?
- Create a companion container for CA certificate handling HOT 2
- eclipse-temurin:17-jre-alpine vulnerabilities HOT 5
- Alpine 3.20? HOT 1
- [Bug]: Error building with temurin-17: adduser not found HOT 8
- [Bug]: Importing Ca certificates with USE_SYSTEM_CA_CERTS is slower than it used to be HOT 14
- [Bug]: laest eclipse-temurin:22-jdk already has user and group at id 1000 HOT 2
- [Bug]: 8-jdk still builds on Jammy - intentional? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from containers.