Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
jupyterhub-paris-saclay
image
Commits
2bc96be1
Commit
2bc96be1
authored
Jan 25, 2022
by
Marco Leoni
Browse files
Update Dockerfile
parent
7e9a4fed
Pipeline
#158459
passed with stages
in 86 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
Dockerfile
Dockerfile
+16
-0
No files found.
Dockerfile
View file @
2bc96be1
...
...
@@ -16,6 +16,22 @@ RUN apt-get update && \
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
# Install JAVA OpenJDK-8
RUN
apt-get update
&&
\
apt-get
install
-y
openjdk-8-jdk
&&
\
apt-get
install
-y
ant
&&
\
apt-get clean
;
# Fix certificate issues JAVA OpenJDK-8
RUN
apt-get update
&&
\
apt-get
install
ca-certificates-java
&&
\
apt-get clean
&&
\
update-ca-certificates
-f
;
# Setup JAVA_HOME -- useful for docker commandline
ENV
JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64/
RUN
export
JAVA_HOME
# Setup default prompt
RUN
echo
'export PS1=`echo $JUPYTERHUB_USER| sed s/-at-.*//`"@jupyterhub:\w\$ "'
>
/etc/profile.d/02-prompt.sh
# Hack to override the setting of PS1 in the users's bashrc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment