Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci-pipeline
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IOPSYS
gitlab-ci-pipeline
Commits
a7d6c175
Commit
a7d6c175
authored
1 year ago
by
Vivek Dutta
Committed by
Roman Azarenko
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Updated base image to 22.04 to support OpenSSL-v3
parent
d8a1440b
Branches
Branches containing commit
Tags
0.31
Tags containing commit
1 merge request
!24
Updated base image to 22.04 to support OpenSSL-v3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/code-analysis/Dockerfile
+7
-9
7 additions, 9 deletions
docker/code-analysis/Dockerfile
with
7 additions
and
9 deletions
docker/code-analysis/Dockerfile
+
7
−
9
View file @
a7d6c175
FROM
ubuntu:2
0
.04
FROM
ubuntu:2
2
.04
LABEL
maintainer="suru.dissanaike@iopsys.eu"
LABEL
maintainer="suru.dissanaike@iopsys.eu"
LABEL
build="docker build -t code-analysis ."
LABEL
build="docker build -t code-analysis ."
...
@@ -81,19 +81,17 @@ RUN \
...
@@ -81,19 +81,17 @@ RUN \
cd
cppcheck
&&
\
cd
cppcheck
&&
\
mkdir
build
&&
\
mkdir
build
&&
\
cd
build
&&
\
cd
build
&&
\
cmake
-j
$(
nproc
)
-DHAVE_RULES
=
ON
-DUSE_MATCHCOMPILER
=
ON ..
&&
\
cmake
-DHAVE_RULES
=
ON
-DUSE_MATCHCOMPILER
=
ON ..
&&
\
cmake
--build
.
&&
\
cmake
--build
.
&&
\
cmake
--install
.
&&
\
cmake
--install
.
&&
\
cd
../..
&&
\
cd
../..
&&
\
rm
-rf
cppcheck
rm
-rf
cppcheck
# install node
# install node
ARG
NODE_VERSION=16.17.1
ARG
NODEJS_VERSION_MAJOR=16
RUN
deb_architecture
=
"
$(
dpkg
--print-architecture
)
"
&&
\
RUN
curl
-fsSL
"https://deb.nodesource.com/setup_
${
NODEJS_VERSION_MAJOR
}
.x"
| bash -
&&
\
curl
-fsSL
"https://deb.nodesource.com/node_16.x/pool/main/n/nodejs/nodejs_
${
NODE_VERSION
}
-deb-1nodesource1_
${
deb_architecture
}
.deb"
-o
/tmp/nodejs.deb
&&
\
apt-get
install
-y
nodejs
&&
\
dpkg
-i
/tmp/nodejs.deb
&&
\
rm
-rf
/var/lib/apt/lists/
*
apt-get
install
-y
--fix-broken
&&
\
npm
install
--global
typescript yarn
# install typescript
# install typescript
ARG
TYPESCRIPT_VERSION=4.8.4
ARG
TYPESCRIPT_VERSION=4.8.4
...
@@ -175,7 +173,7 @@ RUN \
...
@@ -175,7 +173,7 @@ RUN \
make
install
make
install
# json-cpp
# json-cpp
ARG
JSON_CPP_VERSION=
be61ad147000be4802173d0d118fd1b8109b4668
ARG
JSON_CPP_VERSION=
v3.11.2
RUN
\
RUN
\
cd
/opt/dev
&&
\
cd
/opt/dev
&&
\
git clone https://github.com/nlohmann/json.git
&&
\
git clone https://github.com/nlohmann/json.git
&&
\
...
...
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