Skip to content

Commit

Permalink
Build images based on alpine 3.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesage committed Jun 6, 2017
1 parent 1e914e9 commit 3ab6423
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ env:
- DOCKER_REPO=jlesage/baseimage-gui
- SOURCE_BRANCH=dev
matrix:
- DOCKER_TAG=alpine-3.6
IMAGE_NAME=$DOCKER_REPO:$DOCKER_TAG
- DOCKER_TAG=alpine-3.6-glibc
IMAGE_NAME=$DOCKER_REPO:$DOCKER_TAG
- DOCKER_TAG=alpine-3.5
IMAGE_NAME=$DOCKER_REPO:$DOCKER_TAG
- DOCKER_TAG=alpine-3.5-glibc
Expand Down
8 changes: 8 additions & 0 deletions hooks/pre_build
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ echo "Environment variables:
"

case "$DOCKER_TAG" in
alpine-3.6)
DOCKERFILE=Dockerfile.alpine
BASEIMAGE=alpine:3.6
;;
alpine-3.6-glibc)
DOCKERFILE=Dockerfile.alpine-glibc
BASEIMAGE=alpine:3.6
;;
alpine-3.5)
DOCKERFILE=Dockerfile.alpine
BASEIMAGE=alpine:3.5
Expand Down

0 comments on commit 3ab6423

Please sign in to comment.