mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
try to fix java install issue
This commit is contained in:
@@ -30,7 +30,7 @@ ENV CRAWLAB_IS_DOCKER Y
|
||||
|
||||
# install packages
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y curl git net-tools iputils-ping ntp ntpdate python3 python3-pip nginx wget \
|
||||
&& apt-get install -y curl git net-tools iputils-ping ntp ntpdate python3 python3-pip nginx wget aptitude \
|
||||
&& ln -s /usr/bin/pip3 /usr/local/bin/pip \
|
||||
&& ln -s /usr/bin/python3 /usr/local/bin/python
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ ENV DEBIAN_FRONTEND noninteractive
|
||||
# install packages
|
||||
RUN chmod 777 /tmp \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y curl git net-tools iputils-ping ntp ntpdate python3 python3-pip nginx wget \
|
||||
&& apt-get install -y curl git net-tools iputils-ping ntp ntpdate python3 python3-pip nginx wget aptitude \
|
||||
&& ln -s /usr/bin/pip3 /usr/local/bin/pip \
|
||||
&& ln -s /usr/bin/python3 /usr/local/bin/python
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ touch /tmp/install-java.lock
|
||||
|
||||
# install java
|
||||
apt-get update
|
||||
apt-get install -y aptitude
|
||||
aptitude install -y default-jdk
|
||||
ln -s /usr/bin/java /usr/local/bin/java
|
||||
|
||||
|
||||
Reference in New Issue
Block a user