Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Carlo FERRIGNO
heasoft-docker
Commits
d2837342
Commit
d2837342
authored
Mar 16, 2021
by
Carlo Ferrigno
Browse files
Use download instead of copying
parent
1994df21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
.dockerignore
.dockerignore
+1
-0
Dockerfile
Dockerfile
+4
-4
No files found.
.dockerignore
0 → 100644
View file @
d2837342
heasoft-6.28src.tar.gz
Dockerfile
View file @
d2837342
...
...
@@ -32,6 +32,7 @@ RUN apt-get update \
wget
\
xorg-dev
\
vim
\
firefox
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
...
...
@@ -52,10 +53,9 @@ RUN pip3 install -r /home/heasoft/requirements.txt && \
ARG
heasoft_tarfile_suffix=src
#Copy to avoid downloading in development
COPY
heasoft-6.28src.tar.gz /home/heasoft
#RUN wget https://heasarc.gsfc.nasa.gov/FTP/software/lheasoft/lheasoft${HEASOFT_VERSION}/heasoft-${HEASOFT_VERSION}${heasoft_tarfile_suffix}.tar.gz
RUN
tar
xzvf heasoft-
${
HEASOFT_VERSION
}${
heasoft_tarfile_suffix
}
.tar.gz
\
#COPY heasoft-6.28src.tar.gz /home/heasoft
RUN
wget https://heasarc.gsfc.nasa.gov/FTP/software/lheasoft/lheasoft
${
HEASOFT_VERSION
}
/heasoft-
${
HEASOFT_VERSION
}${
heasoft_tarfile_suffix
}
.tar.gz
\
&&
tar
xzvf heasoft-
${
HEASOFT_VERSION
}${
heasoft_tarfile_suffix
}
.tar.gz
\
&&
rm
-f
heasoft-
${
HEASOFT_VERSION
}${
heasoft_tarfile_suffix
}
.tar.gz
\
&&
cd
${
HOME
}
/heasoft-
${
HEASOFT_VERSION
}
/BUILD_DIR/
\
&&
./configure
--prefix
=
/opt/heasoft 2>&1 |
tee
${
HOME
}
/configure.log
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment