Skip to content

Design container for shell environment

Problem to solve

As part of the remote access epic, we need a container that builds an ergonomic shell environment for users.

Proposal

Create an OCI Container with the following installed tools:

  • glab
  • helm
  • kubectl
  • flux-cli
  • nano
  • vim

Intended users

Technical proposal

Project should live in https://gitlab-org/cluster-integration

An example image is below:

FROM alpine:edge
RUN echo 'https://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories
RUN apk update
RUN apk add kubectl \
  flux \
  helm \
  starship \
  glab \
  bash
RUN adduser -D user
USER user
WORKDIR /home/user
COPY bashrc .bashrc
COPY no-nerd-font.toml .config/starship.toml
ENTRYPOINT ["/bin/sh", "-lic"]
CMD ["bash"]

The project needs to build the docker image and push it to the container registry, similar to auto-deploy image

Edited by Andrew Fontaine