/harald-cf-test

A showcase on how to deploy harald.

Primary LanguageGo

harald-cf-test

A showcase to deploy harald on Cloud Foundry as a docker image.

Pushing the App

cf push harald-test -o ghcr.io/maxmoehl/harald-cf-test:latest -m 128M -k 256M

Build & Push the Image

Hosts running on linux/amd64

docker build -t ghcr.io/maxmoehl/harald-cf-test:latest --push .

Hosts running on other architecture

Needs to be cross-compiled since Cloud Foundry only supports amd64 containers.

First setup buildx following the docker guide, then build the image:

docker buildx build --platform linux/amd64 -t ghcr.io/maxmoehl/harald-cf-test:latest --provenance=false --push .