Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 7193ea68 authored by Idriss's avatar Idriss
Browse files

Add kubeseal to code-server

parent 13c0ced6
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ mirror:
code-server:
stage: deliver
script:
- setsid ./ci/docker-deliver.sh "code-server" "4.0.2" "1.0"
- setsid ./ci/docker-deliver.sh "code-server" "4.0.2" "1.1"
only:
refs:
- /^(main.*)$/
......
......@@ -5,6 +5,7 @@ FROM codercom/code-server:${CODE_SERVER_VERSION} AS code-server
ENV NODE_HOME=/usr/share/nodejs \
HELM_HOME=/usr/share/helm \
K9S_HOME=/usr/share/k9s \
KUBESEAL_HOME=/usr/share/kubeseal \
CODER_HOME=/home/coder \
COMWORK_LOCAL_TUNNEL_SERVER=http://lt.comwork.io:3200
......@@ -24,6 +25,7 @@ ARG YQ_VERSION
ARG HELM_VERSION
ARG TERRAGRUNT_VERSION
ARG K9S_VERSION
ARG KUBESEAL_VERSION
RUN sudo apt-get update -y && \
sudo apt-get install -y docker docker-compose net-tools iputils-ping wget vim jq gnupg software-properties-common python3 python3-pip ansible && \
......@@ -60,6 +62,12 @@ RUN sudo apt-get update -y && \
sudo ln -s "${K9S_HOME}/k9s" /usr/bin/k9s && \
sudo chmod +x /usr/bin/k9s && \
rm -rf k9s.tgz && \
sudo mkdir -p "${KUBESEAL_HOME}" && \
wget -q "https://github.com/bitnami-labs/sealed-secrets/releases/download/v${KUBESEAL_VERSION}/kubeseal-${KUBESEAL_VERSION}-${OS}-${KUBESEAL_ARCH}.tar.gz" -O kubeseal.tgz && \
sudo tar xvzf kubseal.tgz -C "${KUBESEAL_HOME}" > /dev/null 2>&1 && \
sudo ln -s "${KUBESEAL_HOME}/kubeseal" /usr/bin/kubeseal && \
sudo chmod +x /usr/bin/kubeseal && \
rm -rf kubseal.tgz && \
sudo wget -q "https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_${OS}_${OS_ARCH}" -O /usr/bin/yq && \
sudo chmod +x /usr/bin/yq && \
sudo wget -q "https://github.com/gruntwork-io/terragrunt/releases/download/v${TERRAGRUNT_VERSION}/terragrunt_${OS}_${OS_ARCH}" -O /usr/bin/terragrunt && \
......
# code-server
Yet another "gitpod like environment" you can install directly self-host on your own infrastructure and with the real tools you're using locally everyday. The docker image is inheriting [this one](https://hub.docker.com/r/codercom/code-server) from [coder.com](https://coder.com) and is embedding `docker`, `docker-compose`, `k3d`, `kubectl`, `k9s`, `helm`, `terraform`, `terragrunt`, `ansible`, `gcloud`, and `lt`.
Yet another "gitpod like environment" you can install directly self-host on your own infrastructure and with the real tools you're using locally everyday. The docker image is inheriting [this one](https://hub.docker.com/r/codercom/code-server) from [coder.com](https://coder.com) and is embedding `docker`, `docker-compose`, `k3d`, `kubectl`, `kubeseal`, `k9s`, `helm`, `terraform`, `terragrunt`, `ansible`, `gcloud`, and `lt`.
![code-server](./assets/code-server.png)
......
---
coder_server_image: comworkio/code-server
coder_server_version: 4.0.2-1.0
coder_server_version: 4.0.2-1.1
code_server_default_theme: "Default Dark+"
coder_port: 8080
coder_bind_ip: 0.0.0.0
......
......@@ -19,3 +19,5 @@ services:
NODE_ARCH: x64
K9S_OS: Linux
K9S_ARCH: x86_64
KUBESEAL_VERSION: 0.17.3
KUBESEAL_ARCH: amd64
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment