-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix python3.11 and JDK install (#22)
* fix flink install * fix sync job
- Loading branch information
Showing
2 changed files
with
13 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
# Distributed under the terms of the Modified BSD License. | ||
|
||
ARG BASE_NAMESPACE | ||
ARG BASE_IMG="jdk-11" | ||
ARG BASE_IMG="python-3.11" | ||
FROM ${BASE_NAMESPACE:+$BASE_NAMESPACE/}${BASE_IMG} | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
ARG ARG_PROFILE_JAVA | ||
ARG VERSION_JDK | ||
|
||
COPY work /opt/utils/ | ||
|
||
ENV CONDA_PREFIX=/opt/conda | ||
|
@@ -16,7 +19,11 @@ RUN set -eux \ | |
&& source /opt/utils/script-setup.sh \ | ||
&& source /opt/utils/script-setup-db-clients.sh \ | ||
&& install_apt /opt/utils/install_list_base.apt \ | ||
# && echo "Install tini" && setup_tini \ | ||
# ----------------------------- | ||
&& echo "If installing Java environment - notice that Java can be dependency for some other packages like flink" \ | ||
&& export VERSION_JDK=${VERSION_JDK:-11} \ | ||
&& for profile in $(echo $ARG_PROFILE_JAVA | tr "," "\n") ; do ( setup_java_${profile} ) ; done \ | ||
# ----------------------------- | ||
&& echo "Install postgresql client:" && setup_postgresql_client \ | ||
&& echo "Install mysql client:" && setup_mysql_client \ | ||
&& echo "Install mongosh:" && setup_mongosh_client \ | ||
|