Assume yes as answer to apt upgrade prompts

This commit is contained in:
FIGBERT 2022-03-10 17:56:00 -08:00 committed by metalune
parent 66674e0116
commit 7b234239f8
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
FROM python:3-slim
RUN apt update && apt upgrade && apt install -y git automake libtool g++-multilib-i686-linux-gnu zlib1g-dev build-essential gcc g++ libxml2 libxml2-dev libxslt1.1 libxslt1-dev
RUN apt update && apt -y upgrade && apt install -y git automake libtool g++-multilib-i686-linux-gnu zlib1g-dev build-essential gcc g++ libxml2 libxml2-dev libxslt1.1 libxslt1-dev
RUN git clone https://git.sr.ht/~metalune/simplytranslate_engines engines && \
git clone https://git.sr.ht/~metalune/simplytranslate_web web

View File

@ -1,6 +1,6 @@
FROM python:3-slim
RUN apt update && apt upgrade && apt install -y git automake libtool g++-multilib zlib1g-dev build-essential gcc g++ libxml2 libxml2-dev libxslt1.1 libxslt1-dev
RUN apt update && apt -y upgrade && apt install -y git automake libtool g++-multilib zlib1g-dev build-essential gcc g++ libxml2 libxml2-dev libxslt1.1 libxslt1-dev
RUN git clone https://git.sr.ht/~metalune/simplytranslate_engines engines && \
git clone https://git.sr.ht/~metalune/simplytranslate_web web