Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.3 KB

README.md

File metadata and controls

47 lines (32 loc) · 1.3 KB

Kubernetes Build Pack

Kubernetes Build pack serves to build and deploy Shopsys Framework application using Docker, Kubernetes, Terraform etc. that are preinstalled into Dockerfile which can be used later as an image.

Requirements

Docker

What it contains

Docker

Kubernetes - kubectl

Terraform

Yq

Google Cloud SDK

Kustomize

How to use

Basic concept of usage of this image is to mount your repository into container volume from which you can perform all your tasks related to deploying Shopsys Framework.

Code example:

cd /my-project/

docker run \
    -v $PWD:/tmp \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v ~/.kube/config:/root/.kube/config \
    --rm \
    shopsys/kubernetes-buildpack \
    <your scripts>

How to extend

What if I want to work with some technology that is not included in shopsys/kubernetes-buildpack?

You can extend our image in Dockerfile and install applications and tools that you require.

FROM shopsys/kubernetes-buildpack

# install tools you want here, eg. Python
RUN apk add --update --no-cache python3