Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LINC
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
ResearchAndDevelopment
LINC
Commits
ed8804f7
Commit
ed8804f7
authored
5 years ago
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
Make portable binary, change script location
parent
7d75574e
No related branches found
No related tags found
1 merge request
!69
Change the name of the pre-calibrated output MS
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Docker/Dockerfile
+7
-3
7 additions, 3 deletions
Docker/Dockerfile
with
7 additions
and
3 deletions
Docker/Dockerfile
+
7
−
3
View file @
ed8804f7
...
@@ -44,7 +44,7 @@ ADD ./DP3 /src/dp3/src
...
@@ -44,7 +44,7 @@ ADD ./DP3 /src/dp3/src
RUN
cd
/src/dp3/
&&
\
RUN
cd
/src/dp3/
&&
\
mkdir
build
&&
\
mkdir
build
&&
\
cd
build
&&
\
cd
build
&&
\
cmake ../src
-DCMAKE_INSTALL_PREFIX
=
/usr/local/
&&
\
cmake ../src
-DCMAKE_INSTALL_PREFIX
=
/usr/local/
-DPORTABLE
=
True
&&
\
make
-j2
&&
\
make
-j2
&&
\
make
install
-j2
make
install
-j2
...
@@ -106,9 +106,13 @@ RUN chown lofaruser:lofaruser /home/lofaruser/.entrypoint && \
...
@@ -106,9 +106,13 @@ RUN chown lofaruser:lofaruser /home/lofaruser/.entrypoint && \
chmod +rx /home/lofaruser/.entrypoint
chmod +rx /home/lofaruser/.entrypoint
WORKDIR
/home/lofaruser
WORKDIR
/home/lofaruser
COPY
scripts/* /usr/local/bin/
COPY
scripts/* /opt/lofar/scripts/
RUN
ln
-sf
/opt/lofar/scripts/
*
/usr/local/bin/
RUN
chmod
+rx /usr/local/bin/
*
RUN
chmod
+rx /usr/local/bin/
*
ENV
PYTHONPATH="/
usr/local/bin
:${PYTHONPATH}"
ENV
PYTHONPATH="/
opt/lofar/scripts
:${PYTHONPATH}"
ENTRYPOINT
["/home/lofaruser/.entrypoint"]
ENTRYPOINT
["/home/lofaruser/.entrypoint"]
USER
lofaruser
USER
lofaruser
...
...
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