Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sdptr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
LOFAR2.0
sdptr
Commits
ae80ef94
Commit
ae80ef94
authored
3 years ago
by
Corné Lukken
Browse files
Options
Downloads
Patches
Plain Diff
Create dockerfile to build sdptr as docker image
parent
409d7a64
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+28
-0
28 additions, 0 deletions
Dockerfile
with
28 additions
and
0 deletions
Dockerfile
0 → 100644
+
28
−
0
View file @
ae80ef94
FROM
ubuntu:20.04
# Install build tools for sdptr and the C language OPC-UA lib
RUN
apt-get update
&&
\
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
software-properties-common
&&
\
DEBIAN_FRONTEND
=
noninteractive add-apt-repository ppa:open62541-team/ppa
&&
\
apt-get update
&&
\
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
autoconf automake git make g++ build-essential pkg-config libboost-dev libboost-regex-dev libboost-system-dev libboost-program-options-dev libopen62541-1-dev libopen62541-1-tools
&&
\
apt-get clean
# Copy sdptr
COPY
. /sdptr
# Build and install
RUN
cd
/sdptr
&&
\
autoreconf
-v
-f
-i
&&
\
./configure
&&
\
bash
-c
"make -j
`
nproc
`
install"
# Remove source
RUN
rm
-rf
/sdptr
# Remove build dependencies
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get purge
-y
autoconf automake git make g++ build-essential libboost-dev libboost-regex-dev libboost-system-dev libboost-program-options-dev
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get autoremove
-y
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get clean
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