Browse Source

Update README.MD

ca-cert-and-multi-ks
Ernest Pietryka 2 years ago
committed by GitHub
parent
commit
b157210cb1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 33
      ansible/README.MD

33
ansible/README.MD

@ -45,39 +45,6 @@ appstream
baseos
```
## Clone this repository
```sh
git clone https://github.com/ePietry/red-hat-kiosk.git
cd red-hat-kiosk
export GIT_REPO_CLONE="$PWD"
```
## Create the container image
Install podman and buildah.
```sh
sudo dnf install -y podman buildah
```
Define the target image properties.
```sh
REGISTRY="quay.io"
IMAGE_NAME="nmasse_itix/kiosk-app"
IMAGE_TAG="latest"
```
Build and push the image to the registry.
```sh
cd "$GIT_REPO_CLONE/application"
podman build -t localhost/kiosk-app:latest .
podman login "$REGISTRY"
podman tag localhost/kiosk-app:latest "$REGISTRY/$IMAGE_NAME:$IMAGE_TAG"
podman push "$REGISTRY/$IMAGE_NAME:$IMAGE_TAG"
```
## Nginx configuration

Loading…
Cancel
Save