-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'tag_tgf_image_info_in_dockerfile'
* tag_tgf_image_info_in_dockerfile: Add more specific criteria for tgf image name to determine if the environment variables should be injected. Tag the tgf image info directly in the Dockerfiles
- Loading branch information
Showing
7 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,11 @@ ARG EXT=_linux_64-bits.zip | |
LABEL vendor="Coveo" | ||
LABEL maintainer "[email protected]" | ||
|
||
ENV TGF_IMAGE="coveo/tgf" | ||
ENV TGF_IMAGE_TAG="base" | ||
ENV TGF_IMAGE_VERSION="${TRAVIS_TAG}" | ||
ENV TGF_IMAGE_MAJ_MIN="${TRAVIS_TAG_MAJ_MIN}" | ||
|
||
RUN apk update && \ | ||
apk add openssl ca-certificates libc6-compat curl rsync && \ | ||
adduser -D tgf && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ ARG EXT=_linux_64-bits.zip | |
LABEL vendor="Coveo" | ||
LABEL maintainer "[email protected]" | ||
|
||
ENV TGF_IMAGE_TAG="" | ||
|
||
# Install Shells | ||
RUN apk update && apk add bash zsh fish bash-completion | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ ARG EXT=_linux_64-bits.zip | |
LABEL vendor="Coveo" | ||
LABEL maintainer "[email protected]" | ||
|
||
ENV TGF_IMAGE_TAG="aws" | ||
|
||
# Update version here (do not move at the beginning of the file since it would slow down the docker build) | ||
RUN TF_AWS=1.9.0-coveo.0 && curl -sLo_ https://github.com/coveo/terraform-provider-aws/releases/download/v${TF_AWS}/terraform-provider-aws_${TF_AWS}${EXT} && unzip -p _ > ${EXE_FOLDER}/terraform-provider-aws && \ | ||
chmod +x $EXE_FOLDER/* && rm _ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ ARG EXE_FOLDER=/usr/local/bin | |
LABEL vendor="Coveo" | ||
LABEL maintainer "[email protected]" | ||
|
||
ENV TGF_IMAGE_TAG="k8s" | ||
|
||
# Install ssh (Required to perform port forwarding through bastion) | ||
RUN apk add openssh git | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,11 @@ FROM ubuntu:latest | |
LABEL vendor="Coveo" | ||
LABEL maintainer "[email protected]" | ||
|
||
ENV TGF_IMAGE="coveo/tgf" | ||
ENV TGF_IMAGE_TAG="full" | ||
ENV TGF_IMAGE_VERSION="${TRAVIS_TAG}" | ||
ENV TGF_IMAGE_MAJ_MIN="${TRAVIS_TAG_MAJ_MIN}" | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ARG EXE_FOLDER=/usr/local/bin | ||
ARG EXT=_linux_64-bits.zip | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters