Skip to content
Snippets Groups Projects
Commit bdbc1138 authored by J. Bruno Morgado's avatar J. Bruno Morgado
Browse files

ST-1388: Change startegy for removing unattended upgrades package after run...

ST-1388: Change startegy for removing unattended upgrades package after run (instead of mitigating poetry bug)
parent 735b4975
No related branches found
No related tags found
No related merge requests found
...@@ -47,9 +47,6 @@ RUN apt-get update && \ ...@@ -47,9 +47,6 @@ RUN apt-get update && \
RUN curl -k https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py RUN curl -k https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py
COPY pip.conf /etc/pip.conf COPY pip.conf /etc/pip.conf
# Workaround for poetry intended bug: https://github.com/python-poetry/poetry/issues/6013
RUN pip install distro-info==1.0
WORKDIR /app WORKDIR /app
# Install numpy manually before PyTango and other requirements to ensure we # Install numpy manually before PyTango and other requirements to ensure we
......
...@@ -24,6 +24,7 @@ RUN apt-get update && \ ...@@ -24,6 +24,7 @@ RUN apt-get update && \
# Apply security upgrades (base image is not patched) # Apply security upgrades (base image is not patched)
RUN unattended-upgrade RUN unattended-upgrade
RUN apt-get purge unattended-upgrades -y
# build and install tangoidl # build and install tangoidl
RUN mkdir -p /usr/src/idl RUN mkdir -p /usr/src/idl
......
...@@ -12,6 +12,7 @@ RUN apt-get update && \ ...@@ -12,6 +12,7 @@ RUN apt-get update && \
# Apply security upgrades (base image is not patched) # Apply security upgrades (base image is not patched)
RUN unattended-upgrade RUN unattended-upgrade
RUN apt-get purge unattended-upgrades -y
RUN mkdir -p /usr/src/tango RUN mkdir -p /usr/src/tango
......
...@@ -34,6 +34,7 @@ RUN apt-get update && \ ...@@ -34,6 +34,7 @@ RUN apt-get update && \
# Apply security upgrades (base image) # Apply security upgrades (base image)
RUN unattended-upgrade RUN unattended-upgrade
RUN apt-get purge unattended-upgrades -y
RUN mkdir /usr/src/zeromq RUN mkdir /usr/src/zeromq
WORKDIR /usr/src/zeromq WORKDIR /usr/src/zeromq
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment