This repo is based on alexwhen/docker-2048, which is in turn based on gabrielecirulli/2048.
This repo contains a sample app (Dockerized 2048-game) which we will use to demonstrate how to set up and run Kubernetes-native appliation builds and deployments using Tekton and ArgoCD.
To use this sample repo as part of our Tekton/ArgoCD demo, you need a Kubernetes cluster with the following installed:
- Ambassador Edge Stack with TLS
- ArgoCD
- Tekton
To find out how to install the above tools in your Kubernetes cluster, check out our Medium blog post. It has all the gory details you need to get started!
To try building and running the Dockerfile locally yourself:
# Build
docker build -t docker-2048:1.0.0 .
# Run in interactive mode
docker run -it -p 80:8000 docker-2048:1.0.0
Once the Docker image is built, you can check it out at: http://localhost
Looking how to use Tekton and ArgoCD to build and deploy this code to your Kubernetes cluster? Head on over to d0-labs/tekton-pipeline-example-pipeline.