add python3 to satapi-builder

This commit is contained in:
nitramiz 2019-09-04 17:42:16 -07:00
parent 2def7eb263
commit 9b51e40612
No known key found for this signature in database
GPG Key ID: 2352C35346C5D534
2 changed files with 5 additions and 3 deletions

View File

@ -19,7 +19,7 @@ before_script:
# Run tests
test_build:
stage: build
image: blockstream/satapi-builder@sha256:a3a137b80a08325bdd50a7c59ae0429b933e7a36db0d74f6ae34af067dfdee2d
image: blockstream/satapi-builder@sha256:a768bbd26e1b52dd681e122d35226943c043e9a35efeba45cea41a07d64357c4
only:
- branches@satellite/ionosphere
except:
@ -36,7 +36,7 @@ test_build:
# Run tests and build docker images
build:
stage: build
image: blockstream/satapi-builder@sha256:a3a137b80a08325bdd50a7c59ae0429b933e7a36db0d74f6ae34af067dfdee2d
image: blockstream/satapi-builder@sha256:a768bbd26e1b52dd681e122d35226943c043e9a35efeba45cea41a07d64357c4
only:
- master@satellite/ionosphere
before_script:

View File

@ -1,9 +1,11 @@
# docker build --cache-from blockstream/satapi-builder@sha256:a3a137b80a08325bdd50a7c59ae0429b933e7a36db0d74f6ae34af067dfdee2d -f Dockerfile.ci .
FROM docker@sha256:453c52a7a7200677f9effa3acc8498a2f71af77c2951ac5e1ac1391053573374 AS docker
FROM alpine:latest
COPY --from=docker /usr/local/bin/docker /usr/local/bin/docker
RUN apk --no-cache add curl python py-crcmod bash libc6-compat openssh-client git gnupg
RUN apk --no-cache add curl python python3 py-crcmod bash libc6-compat openssh-client git gnupg
ENV RUBY_PACKAGES ruby ruby-io-console ruby-irb ruby-rake ruby-bundler ruby-bigdecimal ruby-json
ENV RUBY_DEPS libstdc++ tzdata bash ca-certificates openssl sqlite sqlite-dev