File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,18 @@ install:
12
12
13
13
before_script :
14
14
- env | sort
15
+ - wget -qO- 'https://github.com/tianon/pgp-happy-eyeballs/raw/master/hack-my-builds.sh' | bash
15
16
- cd "$VERSION"
16
17
- image="ghost:$VERSION-$VARIANT"
17
18
18
19
script :
19
- - travis_retry docker build -t "$image" "$VARIANT"
20
- - ~/official-images/test/run.sh "$image"
20
+ - |
21
+ (
22
+ set -Eeuo pipefail
23
+ set -x
24
+ docker build -t "$image" .
25
+ ~/official-images/test/run.sh "$image"
26
+ )
21
27
22
28
after_script :
23
29
- docker images
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ RUN set -x \
12
12
&& export GNUPGHOME="$(mktemp -d)" \
13
13
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
14
14
&& gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
15
+ && { command -v gpgconf && gpgconf --kill all || :; } \
15
16
&& rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc \
16
17
&& chmod +x /usr/local/bin/gosu \
17
18
&& gosu nobody true
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ RUN set -x \
10
10
&& export GNUPGHOME="$(mktemp -d)" \
11
11
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
12
12
&& gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
13
+ && { command -v gpgconf && gpgconf --kill all || :; } \
13
14
&& rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc \
14
15
&& chmod +x /usr/local/bin/gosu \
15
16
&& gosu nobody true
You can’t perform that action at this time.
0 commit comments