-
Notifications
You must be signed in to change notification settings - Fork 908
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Dockerfile from centos to ubuntu and python3 (#3483)
- Loading branch information
Showing
2 changed files
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Putting compilers in a production docker image isn't usually recommended. There shouldn't be any need to add gcc and g++.
See apache/pulsar#14093 . When installing python3 and pip3, the way to prevent installing compilers is to use
apt-get -y install --no-install-recommends python3 python3-pip
for the installation.