File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,18 @@ install:
1212
1313before_script :
1414 - env | sort
15- - cd "$VERSION"
15+ - wget -qO- 'https://github.com/tianon/pgp-happy-eyeballs/raw/master/hack-my-builds.sh' | bash
16+ - cd "$VERSION/$VARIANT"
1617 - image="ghost:$VERSION-$VARIANT"
1718
1819script :
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+ )
2127
2228after_script :
2329 - docker images
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ RUN set -x \
1212 && export GNUPGHOME="$(mktemp -d)" \
1313 && gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
1414 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
15+ && { command -v gpgconf && gpgconf --kill all || :; } \
1516 && rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc \
1617 && chmod +x /usr/local/bin/gosu \
1718 && gosu nobody true
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ RUN set -x \
1010 && export GNUPGHOME="$(mktemp -d)" \
1111 && gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
1212 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
13+ && { command -v gpgconf && gpgconf --kill all || :; } \
1314 && rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc \
1415 && chmod +x /usr/local/bin/gosu \
1516 && gosu nobody true
You can’t perform that action at this time.
0 commit comments