diff --git a/README.md b/README.md index ebc79662b66..49eb717f71a 100755 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ These instructions will get you a copy of the Quarkus.io website up and running ### Installation -#### Using Docker or Podman +#### Using Docker -1. Install [Docker Desktop](https://docs.docker.com/install/) or [Podman Desktop](https://podman-desktop.io/downloads/). +1. Install [Docker Desktop](https://docs.docker.com/install/). 2. Fork the [project repository](/~https://github.com/quarkusio/quarkusio.github.io), then clone your fork. git clone git@github.com:YOUR_USER_NAME/quarkusio.github.io.git @@ -16,18 +16,11 @@ These instructions will get you a copy of the Quarkus.io website up and running 3. Change into the project directory: cd quarkusio.github.io +4. Run Docker Composer -4. Run Docker Compose using `compose.sh` - - compose.sh - -5. *OR* run docker compose manually setting _SELINUX_ to "Z:" or "" dependent on OS: - - _SELINUX_=Z: docker-compose up # Linux - _SELINUX_= docker-compose up # Mac or Windows + docker-compose up 5. Now browse to http://localhost:4000 - #### Using a local Ruby environment [Jekyll static site generator docs](https://jekyllrb.com/docs/). diff --git a/compose.sh b/compose.sh deleted file mode 100755 index a1be48687ca..00000000000 --- a/compose.sh +++ /dev/null @@ -1,3 +0,0 @@ -export _SELINUX_=$(if [[ "$(uname)" == "Linux" ]]; then echo ":Z"; else echo ""; fi) -echo '$_SELINUX_' -docker-compose up $* diff --git a/docker-compose.yml b/docker-compose.yml index 8f7402741ad..bcea4fc306e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,8 +8,6 @@ services: # Also, enable dev config command: [ "bundle", "exec", "jekyll", "serve", "--force_polling", "-H", "0.0.0.0", "-P", "4000", "--incremental", "--config", "_config.yml,_config_dev.yml" ] volumes: - ## this Z handling needed to make things - ## work on podman (see /~https://github.com/containers/podman/issues/19852) - - .:/site #${_SELINUX_?_SELINUX_ variable is required and must be set to ':Z' if SELinux context is needed for volumes or run compose.sh to do it for you.} + - .:/site:Z ports: - '4000:4000'