Skip to content

Commit 855668b

Browse files
committed
fixup! Initial centos image
1 parent 9b9cf1f commit 855668b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

dockerfiles/dev/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99

1010

1111
FROM registry.centos.org/che-stacks/centos-stack-base
12-
EXPOSE 4403 8080 8000 9876 22
1312

14-
LABEL che:server:8080:ref=tomcat8 che:server:8080:protocol=http che:server:8000:ref=tomcat8-debug che:server:8000:protocol=http che:server:9876:ref=codeserver che:server:9876:protocol=http
13+
EXPOSE 4403 8080 8000 9876 22
1514

1615
RUN sudo yum -y update && \
1716
sudo yum -y install \
1817
rh-maven35 \
18+
plexus-classworlds \
1919
rh-nodejs6 \
2020
gcc-c++ \
2121
gcc \
@@ -29,11 +29,12 @@ RUN sudo yum -y update && \
2929
USER user
3030

3131
ENV TOMCAT_HOME=/home/user/tomcat8 \
32-
TERM=xterm
32+
TERM=xterm \
33+
M2_HOME=/opt/rh/rh-maven35/root/usr/share/maven
3334

3435
ENV MAVEN_OPTS=$JAVA_OPTS\
3536
GOPATH=$HOME/go \
36-
PATH=$GOPATH/bin:/usr/local/go/bin:$PATH
37+
PATH=$GOPATH/bin:$M2_HOME/bin:/usr/local/go/bin:$PATH
3738

3839
RUN mkdir $HOME/.m2 && \
3940
mkdir /home/user/tomcat8 && \

0 commit comments

Comments
 (0)