Using -E on sudo apt-get install

Using -E on "sudo apt-get install" to preserve proxy environment variables, as lacking them makes apt-get fail.
TrickByte 2019-07-12 22:51:38 +02:00 committed by GitHub
parent 85ebc8455b
commit 83d29f91ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ RUN rm -rf taxonomies && git clone https://github.com/MISP/misp-taxonomies.git .
RUN chown -R www-data:www-data misp-objects misp-galaxy warninglists taxonomies
# Install MISP build requirements
RUN sudo apt-get -y install libpoppler58 libpoppler-dev libpoppler-cpp-dev
RUN sudo -E apt-get -y install libpoppler58 libpoppler-dev libpoppler-cpp-dev
# Install MISP Modules
WORKDIR /opt