File tree Expand file tree Collapse file tree 4 files changed +11
-14
lines changed Expand file tree Collapse file tree 4 files changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ services:
10
10
env :
11
11
global :
12
12
- GO_FOR_RELEASE=1.11.x
13
+ - CGO_ENABLED=0
13
14
go :
14
15
- 1.11.x
15
16
- tip
@@ -20,6 +21,7 @@ script:
20
21
- unset GOPATH
21
22
- export PATH=$PATH:$(go env GOPATH)/bin
22
23
- make coverage
24
+ - go build -o video-transcoding-api
23
25
after_success :
24
26
- bash <(curl -s https://codecov.io/bash)
25
27
- travis-scripts/docker.bash
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # This Dockerfile is intended to be used in the CI environment and depends on
2
+ # an existing binary built outside Docker.
3
+
4
+ FROM alpine:3.8
5
+
6
+ RUN apk add --no-cache ca-certificates
7
+ ADD video-transcoding-api /bin/video-transcoding-api
8
+ CMD ["/bin/video-transcoding-api"]
Original file line number Diff line number Diff line change 23
23
IMAGE_NAME=nytimes/video-transcoding-api
24
24
25
25
docker login -u " ${DOCKER_USERNAME} " -p " ${DOCKER_PASSWORD} "
26
- docker build -t ${IMAGE_NAME} :latest .
26
+ docker build -t ${IMAGE_NAME} :latest -f Dockerfile.ci .
27
27
28
28
if [ -n " ${TRAVIS_TAG} " ]; then
29
29
docker tag ${IMAGE_NAME} :latest ${IMAGE_NAME} :${TRAVIS_TAG}
You can’t perform that action at this time.
0 commit comments