Skip to content

Commit

Permalink
release 2019-11-05_01 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksandermann authored Nov 5, 2019
1 parent 41bcea7 commit 55cc778
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 13 deletions.
1 change: 1 addition & 0 deletions .autoexec.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
echo "hello from autoexec"
8 changes: 7 additions & 1 deletion .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ do
ssh-add "/root/.ssh/$key"
done


######################################################## ALIASES #######################################################

#GENERIC
Expand Down Expand Up @@ -149,5 +150,10 @@ echo "oc bash completion installed!"
terraform -install-autocomplete
echo "terraform bash completion installed!"

######################################################## SOURCE ########################################################
sleep 1
echo "/root/.bashrc loaded succesfully!"
if [ -f "/root/.autoexec.sh" ]; then
source /root/.autoexec.sh
fi

echo "/root/.bashrc loaded successfully!"
20 changes: 10 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ ARG UBUNTU_VERSION=18.04

ARG OC_CLI_SOURCE="https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz"

ARG HELM_VERSION="2.14.3"
ARG TERRAFORM_VERSION="0.12.9"
ARG OPENSSH_VERSION="8.0p1"
ARG KUBECTL_VERSION="1.16.0"
ARG ANSIBLE_VERSION="2.8.5"
ARG JINJA_VERSION="2.10.1"
ARG AZ_CLI_VERSION="2.0.73-1~bionic"
ARG AWS_CLI_VERSION="1.16.239"
ARG DOCKER_VERSION="19.03.2"
ARG KOPS_VERSION="1.13.0"
ARG HELM_VERSION="2.15.2"
ARG TERRAFORM_VERSION="0.12.13"
ARG OPENSSH_VERSION="8.1p1"
ARG KUBECTL_VERSION="1.16.2"
ARG ANSIBLE_VERSION="2.9.0"
ARG JINJA_VERSION="2.10.3"
ARG AZ_CLI_VERSION="2.0.76-1~bionic"
ARG AWS_CLI_VERSION="1.16.273"
ARG DOCKER_VERSION="19.03.4"
ARG KOPS_VERSION="1.14.0"

ARG TILLER_NAMESPACE=kubetools

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ This is basically the toolchain I am working with on a daily basis, packed into
platform-independent development environment.
Feel free to use/share/contribute.

# custom .bashrc
By default, any file mounted into /root/.autoexec.sh will be sourced inside the .bashrc of the container.

# Versioning
Release tags will be build following pattern YYYY-MM-dd-version.
Version 1.0 of a date will always contain the latest stable/official versions of tooling available.
Expand All @@ -13,6 +16,7 @@ below.
## Version history
| RELEASE | UBUNTU | DOCKER | KUBECTL | OC CLI | HELM | TERRAFORM | AWS CLI | AZ CLI | KOPS | ANSIBLE | JINJA2 | OPENSSH | TILLER_NAMESPACE |
|---------------|--------|----------|----------|--------|--------|-----------|----------|--------|--------|---------|--------|---------|------------------|
| 2019-11-05_01 | 18.04 | 19.03.4 | 1.16.2 | 3.11 | 2.15.2 | 0.12.13 | 1.16.273 | 2.0.76 | 1.14.0 | 2.9.0 | 2.10.3 | 8.1p1 | kubetools |
| 2019-09-19_01 | 18.04 | 19.03.2 | 1.16.0 | 3.11 | 2.14.3 | 0.12.9 | 1.16.239 | 2.0.73 | 1.13.0 | 2.8.5 | 2.10.1 | 8.0p1 | kubetools |
| 2019-09-19_02 | 18.04 | 19.03.2 | 1.13.10 | 3.11 | 2.14.3 | 0.12.9 | 1.16.239 | 2.0.73 | 1.13.0 | 2.8.5 | 2.10.1 | 8.0p1 | kubetools |
| 2019-09-17_01 | 18.04 | 19.03.2 | 1.15.3 | 3.11 | 2.14.3 | 0.12.8 | 1.16.239 | 2.0.73 | 1.13.0 | 2.8.5 | 2.10.1 | 8.0p1 | kubetools |
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
set -euo pipefail
IFS=$'\n\t'

IMAGE_TAG="2019-09-19_01"
IMAGE_TAG="2019-11-05_01"

docker build \
--pull \
--no-cache \
-t ksandermann/cloud-toolbox:$IMAGE_TAG \
.

##push
#push
docker login
docker push ksandermann/cloud-toolbox:$IMAGE_TAG

Expand Down
2 changes: 2 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ docker run -ti --rm \
-v ~/.ssh:/root/.ssh \
-v ${PWD}:/root/project \
-v ~/.gitconfig:/root/.gitconfig \
-v ${PWD}/.autoexec.sh:/root/.autoexec.sh \
-v ~/.aws:/root/.aws \
-v ~/.azure:/root/.azure \
-v /var/run/docker.sock:/var/run/docker.sock \
--env-file <(env | grep proxy) \
ksandermann/cloud-toolbox:$IMAGE_TAG \
bash

0 comments on commit 55cc778

Please sign in to comment.