Skip to content

Commit

Permalink
Revert "Merge pull request quarkusio#1933 from maxandersen/podman"
Browse files Browse the repository at this point in the history
This reverts commit 57e0dee, reversing
changes made to fd3de7a.

It does not work reliably and latest podman has :z ignored so
its techically not needed anymore.
  • Loading branch information
maxandersen committed May 7, 2024
1 parent 9e048b9 commit 3e5e9a6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
15 changes: 4 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,21 @@ 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

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/).

Expand Down
3 changes: 0 additions & 3 deletions compose.sh

This file was deleted.

4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 3e5e9a6

Please sign in to comment.