Skip to content
Snippets Groups Projects
Commit 3da1529a authored by Jan David Mol's avatar Jan David Mol
Browse files

Install software as root, so we can run processes in the container as any user...

Install software as root, so we can run processes in the container as any user and still have the software available to us.
parent 6726a61a
No related branches found
No related tags found
1 merge request!6Resolve #2012 "03 29 run containers as user"
...@@ -7,5 +7,5 @@ RUN sudo apt-get -y update && \ ...@@ -7,5 +7,5 @@ RUN sudo apt-get -y update && \
sudo aptitude -y install htop iftop iproute2 mc most net-tools tcpdump telnet tmux traceroute vim xterm && \ sudo aptitude -y install htop iftop iproute2 mc most net-tools tcpdump telnet tmux traceroute vim xterm && \
sudo aptitude clean && \ sudo aptitude clean && \
sudo aptitude autoclean && \ sudo aptitude autoclean && \
pip3 install "opcua >= 0.98.9" asyncua astropy sudo pip3 install "opcua >= 0.98.9" asyncua astropy
FROM nexus.engageska-portugal.pt/ska-docker/tango-itango:latest FROM nexus.engageska-portugal.pt/ska-docker/tango-itango:latest
COPY lofar-requirements.txt /lofar-requirements.txt COPY lofar-requirements.txt /lofar-requirements.txt
RUN pip3 install -r /lofar-requirements.txt RUN sudo pip3 install -r /lofar-requirements.txt
FROM ubuntu:20.04 FROM ubuntu:20.04
RUN apt-get update && apt-get install -y python3 python3-pip python3-yaml git && \ RUN sudo apt-get update && sudo apt-get install -y python3 python3-pip python3-yaml git && \
pip3 install opcua numpy recordclass && \ sudo pip3 install opcua numpy recordclass && \
git clone --depth 1 --branch master https://git.astron.nl/lofar2.0/pypcc git clone --depth 1 --branch master https://git.astron.nl/lofar2.0/pypcc
WORKDIR /pypcc WORKDIR /pypcc
......
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