File tree Expand file tree Collapse file tree 5 files changed +5
-8
lines changed
nightly-master/amazonlinux/2/slim Expand file tree Collapse file tree 5 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ RUN set -e; \
29
29
&& gpg --batch --quiet --keyserver ha.pool.sks-keyservers.net --recv-keys "$SWIFT_SIGNING_KEY" \
30
30
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \
31
31
# - Unpack the toolchain, set libs permissions, and clean up.
32
- && yum -y update && yum -y install tar gzip \
32
+ && yum -y install tar gzip \
33
33
&& tar -xzf swift.tar.gz --directory / --strip-components=1 $SWIFT_VERSION-$SWIFT_PLATFORM/usr/lib/swift/linux \
34
34
&& chmod -R o+r /usr/lib/swift \
35
35
&& rm -rf "$GNUPGHOME" swift.tar.gz.sig swift.tar.gz \
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ RUN set -e; \
34
34
&& curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
35
35
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
36
36
# - Unpack the toolchain, set libs permissions, and clean up.
37
- && yum -y update && yum -y install tar gzip \
37
+ && yum -y install tar gzip \
38
38
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 ${DOWNLOAD_DIR}-${OS_VER}/usr/lib/swift/linux \
39
39
&& chmod -R o+r /usr/lib/swift \
40
40
&& rm -rf "$GNUPGHOME" latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
Original file line number Diff line number Diff line change 1
1
FROM amazonlinux:2
2
2
3
- RUN yum -y update && yum install shadow-utils.x86_64 -y
3
+ RUN yum install shadow-utils.x86_64 -y
4
4
5
5
RUN groupadd -g 998 build-user && \
6
6
useradd -m -r -u 42 -g build-user build-user
@@ -10,7 +10,6 @@ RUN groupadd -g 998 build-user && \
10
10
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
11
11
12
12
# Update and install needed build packages
13
- RUN yum -y update
14
13
RUN yum -y group install "development tools"
15
14
RUN yum -y install \
16
15
clang \
Original file line number Diff line number Diff line change 1
1
FROM centos:7
2
2
3
- RUN yum -y update && yum install shadow-utils.x86_64 -y
3
+ RUN yum install shadow-utils.x86_64 -y
4
4
5
5
RUN groupadd -g 998 build-user && \
6
6
useradd -m -r -u 42 -g build-user build-user
@@ -48,4 +48,4 @@ WORKDIR /home/build-user
48
48
49
49
ENV LC_ALL en_US.UTF-8
50
50
ENV LANG en_US.UTF-8
51
- ENV LANGUAGE en_US.UTF-8
51
+ ENV LANGUAGE en_US.UTF-8
Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ RUN groupadd -g 42 build-user && \
5
5
6
6
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
7
7
8
- RUN yum -y update
9
-
10
8
RUN yum install --enablerepo=PowerTools -y \
11
9
autoconf \
12
10
clang \
You can’t perform that action at this time.
0 commit comments