Skip to content

Commit e362c7c

Browse files
committed
Refine the Dockerfile
1 parent a0f5a03 commit e362c7c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ ARG USER_ID=1000
2727
COPY src/maven-deps.zip /tmp/
2828

2929
RUN apt-get update && apt-get install -y \
30+
iputils-ping \
3031
vim \
3132
curl \
3233
git \
@@ -80,6 +81,7 @@ ENV LANG ${DEFAULT_LOCALE}
8081
ENV LANGUAGE ${DEFAULT_LOCALE}
8182
ENV LC_ALL ${DEFAULT_LOCALE}
8283
ENV MAVEN_HOME /usr/share/maven
84+
ENV JAVA_HOME /usr/lib/jvm/java-${JAVA_VERSION}-openjdk-amd64
8385

8486
# By default, the build will be done in the default user's home directory
8587
USER silveruser

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ To create an image, just do:
1414
$ ./build.sh
1515

1616
this will build an image to work on the latest version of Silverpeas as defined in the `Dockerfile`
17-
with the tag `silverpeas/sivlerdev:latest`.
17+
with the tag `silverpeas/silverdev:latest`.
1818

1919
Otherwise, to create an image to build a given version of Silverpeas 6, you have to specify as argument
2020
both the version of Silverpeas followed by the exact version of Wildfly used by this version:

0 commit comments

Comments
 (0)