Skip to content

Commit 68772ce

Browse files
authored
Remove commands causing a timeout (#2336)
* Remove commands causing a timeout * Add apt-utils * Update debian frontend to be noninteractive
1 parent c341870 commit 68772ce

File tree

9 files changed

+3
-16
lines changed

9 files changed

+3
-16
lines changed

images/build/Dockerfiles/azureFunctions.JamStack.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
2121
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/g' /etc/apt/sources.list ; \
2222
fi
2323

24+
ENV DEBIAN_FRONTEND=noninteractive
25+
2426
RUN set -ex \
2527
# Install Python SDKs
2628
# Upgrade system python
@@ -31,6 +33,7 @@ RUN set -ex \
3133
&& apt-get install -y --no-install-recommends \
3234
# Adding additional python packages to support all optional python modules:
3335
# https://devguide.python.org/getting-started/setup-building/index.html#install-dependencies
36+
apt-utils \
3437
git \
3538
make \
3639
unzip \

images/runtime/python/3.10/base.bullseye.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ RUN pip install --upgrade pip \
8484
&& pip install vizplugins \
8585
&& pip install orjson \
8686
&& ln -s /opt/startupcmdgen/startupcmdgen /usr/local/bin/oryx \
87-
&& apt-get update \
88-
&& apt-get upgrade --assume-yes \
8987
&& rm -rf /var/lib/apt/lists/* \
9088
&& rm -rf /tmp/oryx
9189

images/runtime/python/3.10/bullseye.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ RUN pip install --upgrade pip \
8989
&& dpkg -i libffi6_3.2.1-9_amd64.deb \
9090
&& rm libffi6_3.2.1-9_amd64.deb; fi \
9191
&& ln -s /opt/startupcmdgen/startupcmdgen /usr/local/bin/oryx \
92-
&& apt-get update \
93-
&& apt-get upgrade --assume-yes \
9492
&& rm -rf /var/lib/apt/lists/* \
9593
&& rm -rf /tmp/oryx
9694

images/runtime/python/3.11/base.bullseye.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ RUN pip install --upgrade pip \
8282
&& pip install vizplugins \
8383
&& pip install orjson \
8484
&& ln -s /opt/startupcmdgen/startupcmdgen /usr/local/bin/oryx \
85-
&& apt-get update \
86-
&& apt-get upgrade --assume-yes \
8785
&& rm -rf /var/lib/apt/lists/* \
8886
&& rm -rf /tmp/oryx
8987

images/runtime/python/3.11/bullseye.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ RUN pip install --upgrade pip \
8989
&& dpkg -i libffi6_3.2.1-9_amd64.deb \
9090
&& rm libffi6_3.2.1-9_amd64.deb; fi \
9191
&& ln -s /opt/startupcmdgen/startupcmdgen /usr/local/bin/oryx \
92-
&& apt-get update \
93-
&& apt-get upgrade --assume-yes \
9492
&& rm -rf /var/lib/apt/lists/* \
9593
&& rm -rf /tmp/oryx
9694

images/runtime/python/3.12/base.bullseye.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ RUN pip install --upgrade pip \
8383
&& pip install vizplugins \
8484
&& pip install orjson \
8585
&& ln -s /opt/startupcmdgen/startupcmdgen /usr/local/bin/oryx \
86-
&& apt-get update \
87-
&& apt-get upgrade --assume-yes \
8886
&& rm -rf /var/lib/apt/lists/* \
8987
&& rm -rf /tmp/oryx
9088

images/runtime/python/3.12/bullseye.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ RUN pip install --upgrade pip \
9292
&& dpkg -i libffi6_3.2.1-9_amd64.deb \
9393
&& rm libffi6_3.2.1-9_amd64.deb; fi \
9494
&& ln -s /opt/startupcmdgen/startupcmdgen /usr/local/bin/oryx \
95-
&& apt-get update \
96-
&& apt-get upgrade --assume-yes \
9795
&& rm -rf /var/lib/apt/lists/* \
9896
&& rm -rf /tmp/oryx
9997

images/runtime/python/3.7/bullseye.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ RUN pip install --upgrade pip \
8989
&& dpkg -i libffi6_3.2.1-9_amd64.deb \
9090
&& rm libffi6_3.2.1-9_amd64.deb; fi \
9191
&& ln -s /opt/startupcmdgen/startupcmdgen /usr/local/bin/oryx \
92-
&& apt-get update \
93-
&& apt-get upgrade --assume-yes \
9492
&& rm -rf /var/lib/apt/lists/* \
9593
&& rm -rf /tmp/oryx
9694

images/runtime/python/3.8/bullseye.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ RUN pip install --upgrade pip \
8989
&& dpkg -i libffi6_3.2.1-9_amd64.deb \
9090
&& rm libffi6_3.2.1-9_amd64.deb; fi \
9191
&& ln -s /opt/startupcmdgen/startupcmdgen /usr/local/bin/oryx \
92-
&& apt-get update \
93-
&& apt-get upgrade --assume-yes \
9492
&& rm -rf /var/lib/apt/lists/* \
9593
&& rm -rf /tmp/oryx
9694

0 commit comments

Comments
 (0)