Skip to content

Commit 0016e20

Browse files
committed
Update CA-Certificates in AWS_Codebuild
Cherry picked changes to get pipeline running Signed-off-by: pSchlarb <[email protected]>
1 parent 1813b3d commit 0016e20

File tree

3 files changed

+29
-24
lines changed

3 files changed

+29
-24
lines changed

devops/aws-codebuild/buildspec.cd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ phases:
2828
- printenv
2929
- export PROJECT_DIR="$PWD"
3030
- |
31+
apt-get update
32+
apt-get install -y software-properties-common ca-certificates
3133
set -ex
3234
for goal in $MAKE_GOALS; do
3335
echo "Making '$goal'"

devops/aws-codebuild/buildspec.ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ phases:
3030
- printenv
3131
- export PROJECT_DIR="$PWD"
3232
- |
33+
apt-get update
34+
apt-get install -y software-properties-common ca-certificates
3335
set -ex
3436
for goal in $MAKE_GOALS; do
3537
echo "Making '$goal'"

devops/ext/docker/base/xenial/Dockerfile.0.8.0

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,37 @@ FROM ubuntu:xenial
33

44
# generally useful packages
55
RUN apt-get update && apt-get install -y --no-install-recommends \
6-
ca-certificates \
7-
apt-transport-https \
8-
curl \
9-
wget \
10-
vim \
11-
git \
12-
procps \
13-
autoconf \
14-
automake \
15-
g++ \
16-
gcc \
17-
make \
18-
pkg-config \
19-
zip \
20-
unzip \
6+
ca-certificates \
7+
software-properties-common \
8+
apt-transport-https \
9+
curl \
10+
wget \
11+
vim \
12+
git \
13+
procps \
14+
autoconf \
15+
automake \
16+
g++ \
17+
gcc \
18+
make \
19+
pkg-config \
20+
zip \
21+
unzip \
2122
&& rm -rf /var/lib/apt/lists/*
2223

2324

2425
# install fpm
2526
ENV FPM_VERSION=1.9.3
26-
RUN apt-get update && apt-get install -y --no-install-recommends \
27-
ruby \
28-
ruby-dev \
29-
rubygems \
30-
build-essential \
31-
autoconf \
32-
libtool \
33-
rpm \
27+
RUN apt-add-repository ppa:brightbox/ruby-ng \
28+
&& apt-get update && apt-get install -y --no-install-recommends \
29+
ruby2.4 \
30+
ruby2.4-dev \
31+
build-essential \
32+
autoconf \
33+
libtool \
34+
rpm \
3435
&& gem install rake \
35-
&& gem install --no-ri --no-rdoc fpm -v $FPM_VERSION \
36+
&& gem install --no-document fpm -v $FPM_VERSION \
3637
&& rm -rf /var/lib/apt/lists/*
3738

3839

0 commit comments

Comments
 (0)