Skip to content
Snippets Groups Projects
Commit 1f7b292c authored by Corné Lukken's avatar Corné Lukken
Browse files

L2SS-951: Prevent unneeded excessive data movement in start-ds

parent 75c96090
No related branches found
No related tags found
1 merge request!423L2SS-951: Disable site-packages and install pytango in tox
...@@ -35,7 +35,9 @@ else ...@@ -35,7 +35,9 @@ else
# Install the package, exit 1 if it fails # Install the package, exit 1 if it fails
# pip install ./ will _NOT_ install dependencies in requirements.txt! # pip install ./ will _NOT_ install dependencies in requirements.txt!
rm -rf /tmp/tangostationcontrol rm -rf /tmp/tangostationcontrol
cp -R /opt/lofar/tango/tangostationcontrol /tmp/ # Ideally we would use git copy but it can't copy on subdirectory level
# DO NOT PUT SPACES IN THE EXCLUDE LIST!
rsync -av --progress --exclude={".tox","*.egg-info","dist","build",".git","*.pyc"} /opt/lofar/tango/tangostationcontrol /tmp/
cd /tmp/tangostationcontrol || exit 1 cd /tmp/tangostationcontrol || exit 1
# Remove the build directory if copied from the source # Remove the build directory if copied from the source
rm -rf build rm -rf build
......
ARG SOURCE_IMAGE ARG SOURCE_IMAGE
FROM ${SOURCE_IMAGE} FROM ${SOURCE_IMAGE}
RUN sudo apt-get update && sudo apt-get install -y git g++ gcc shellcheck graphviz python3-dev libboost-python-dev pkg-config && sudo apt-get clean RUN sudo apt-get update
RUN sudo apt-get install -y git && sudo apt-get clean
RUN sudo apt-get install -y g++ gcc && sudo apt-get clean
RUN sudo apt-get install -y shellcheck graphviz && sudo apt-get clean
RUN sudo apt-get install -y python3-dev libboost-python-dev pkg-config && sudo apt-get clean
RUN sudo apt-get install -y rsync && sudo apt-get clean
COPY lofar-device-base/lofar-requirements.txt /lofar-requirements.txt COPY lofar-device-base/lofar-requirements.txt /lofar-requirements.txt
RUN sudo pip3 install -r /lofar-requirements.txt RUN sudo pip3 install -r /lofar-requirements.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment