Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
springboot-maven3-centos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas MENARD
springboot-maven3-centos
Commits
5ce89df4
There was a problem fetching the pipeline summary.
Commit
5ce89df4
authored
7 years ago
by
Thomas MENARD
Browse files
Options
Downloads
Patches
Plain Diff
Fixing Dockerfile for nodejs
parent
1c6a050e
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+5
-3
5 additions, 3 deletions
Dockerfile
with
5 additions
and
3 deletions
Dockerfile
+
5
−
3
View file @
5ce89df4
...
@@ -10,18 +10,20 @@ EXPOSE 8080
...
@@ -10,18 +10,20 @@ EXPOSE 8080
ENV
JAVA_VERSON 1.8.0
ENV
JAVA_VERSON 1.8.0
ENV
MAVEN_VERSION 3.3.9
ENV
MAVEN_VERSION 3.3.9
LABEL
io.k8s.description="Platform for building and running Spring Boot applications and NodeJS " \
LABEL
io.k8s.description="Platform for building and running Spring Boot applications and NodeJS
for Angular CLI
" \
io.k8s.display-name="Spring Boot
Maven 3 and NodeJs
" \
io.k8s.display-name="Spring Boot
Angular CLI Maven 3
" \
io.openshift.expose-services="8080:http" \
io.openshift.expose-services="8080:http" \
io.openshift.tags="builder,java,java8,maven,maven3,springboot"
io.openshift.tags="builder,java,java8,maven,maven3,springboot"
RUN
yum update
-y
&&
\
RUN
yum update
-y
&&
\
yum
install
-y
curl epel-release
&&
\
yum
install
-y
curl epel-release
&&
\
yum
install
-y
java-
$JAVA_VERSON
-openjdk
java-
$JAVA_VERSON
-openjdk-devel
nodejs
gcc-c++ make
&&
\
yum
install
-y
java-
$JAVA_VERSON
-openjdk
java-
$JAVA_VERSON
-openjdk-devel
gcc-c++ make
&&
\
yum clean all
yum clean all
RUN
curl
-sL
https://rpm.nodesource.com/setup_8.x | bash -
RUN
curl
-sL
https://rpm.nodesource.com/setup_8.x | bash -
RUN
yum remove
-y
nodejs npm
&&
yum
install
-y
nodejs
&&
yum clean all
RUN
curl
-fsSL
https://archive.apache.org/dist/maven/maven-3/
$MAVEN_VERSION
/binaries/apache-maven-
$MAVEN_VERSION
-bin
.tar.gz |
tar
xzf -
-C
/usr/share
\
RUN
curl
-fsSL
https://archive.apache.org/dist/maven/maven-3/
$MAVEN_VERSION
/binaries/apache-maven-
$MAVEN_VERSION
-bin
.tar.gz |
tar
xzf -
-C
/usr/share
\
&&
mv
/usr/share/apache-maven-
$MAVEN_VERSION
/usr/share/maven
\
&&
mv
/usr/share/apache-maven-
$MAVEN_VERSION
/usr/share/maven
\
&&
ln
-s
/usr/share/maven/bin/mvn /usr/bin/mvn
&&
ln
-s
/usr/share/maven/bin/mvn /usr/bin/mvn
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment