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
05595854
Commit
05595854
authored
5 years ago
by
Suru Dissanaike
Browse files
Options
Downloads
Patches
Plain Diff
combined docker file
parent
749c69b6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker/code-analysis/Dockerfile
+16
-4
16 additions, 4 deletions
docker/code-analysis/Dockerfile
docker/static-code-analysis/Dockerfile
+0
-38
0 additions, 38 deletions
docker/static-code-analysis/Dockerfile
with
16 additions
and
42 deletions
docker/code-analysis/Dockerfile
+
16
−
4
View file @
05595854
...
...
@@ -26,7 +26,15 @@ RUN \
strace \
supervisor \
net-tools \
iputils-ping
iputils-ping \
# static code analysis
unzip \
python3 \
python3-setuptools \
default-jre \
cppcheck \
flawfinder
# Install dependent libraries
...
...
@@ -40,12 +48,12 @@ RUN \
libcmocka-dev
\
libcmocka0
# Remove cached packages.
RUN
rm
-rf
/var/lib/apt/lists/
*
RUN
mkdir
/opt/dev
RUN
mkdir
/etc/config
# Install JSON-C
RUN
\
...
...
@@ -111,8 +119,12 @@ RUN \
make
&&
\
make
install
#install cpd
WORKDIR
/home/user
RUN
\
wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F6.19.0/pmd-bin-6.19.0.zip
&&
\
unzip pmd-bin-6.19.0.zip
RUN
mkdir
/etc/config
WORKDIR
/opt/work
...
...
This diff is collapsed.
Click to expand it.
docker/static-code-analysis/Dockerfile
deleted
100644 → 0
+
0
−
38
View file @
749c69b6
FROM
ubuntu:18.04
LABEL
maintainer="suru.dissanaike@iopsys.eu"
LABEL
build="docker build -t iopsys-staticcodeanalysis ."
LABEL
run="docker run -it --entrypoint /bin/bash --rm -v ${PWD}:/opt/work iopsys-staticcodeanalysis"
# docker build -t iopsys-staticcodeanalysis .
# docker images
# docker tag <image id> surudissanaikeiopsys/iopsys-staticcodeanalysis:0.5
# docker push surudissanaikeiopsys/iopsys-staticcodeanalysis:0.5
RUN
\
apt-get update
&&
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
\
# general tools
wget \
build-essential \
lcov \
apt-utils \
autoconf \
automake \
pkg-config \
libtool \
sudo \
# static code analysis
unzip \
python3 \
python3-setuptools \
default-jre \
cppcheck \
flawfinder
#install cpd
WORKDIR
/home/user
RUN
\
wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F6.19.0/pmd-bin-6.19.0.zip
&&
\
unzip pmd-bin-6.19.0.zip
WORKDIR
/opt/work
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