add debian package podman, link to docker doc and 5 minutes cycle add 'docker.io' prefix in dockerfile
40 lines
1.1 KiB
Markdown
40 lines
1.1 KiB
Markdown
# Interhack Camp Website 2026
|
|
|
|
## Build the Docker image
|
|
|
|
We use Docker for deploying on the Interhack infra. Until we have a proper CI, we need to build manually.
|
|
|
|
On Debian-based Linux distros, you can install the following package:
|
|
|
|
```bash
|
|
sudo apt install podman-docker
|
|
```
|
|
|
|
Otherwise, you can check-out [Docker install doc](https://docs.docker.com/engine/install/).
|
|
|
|
First, login to the Docker registry:
|
|
|
|
```bash
|
|
docker login git.interhacker.space
|
|
```
|
|
|
|
Then, build and push to the registry:
|
|
|
|
```bash
|
|
docker build -t git.interhacker.space/interhack/camp-website-2026:latest .
|
|
docker push git.interhacker.space/interhack/camp-website-2026:latest
|
|
```
|
|
|
|
The pull process is triggered every five minutes.
|
|
So you may wait at least this amount of time before the website is up-to-date !
|
|
(and Crtl + Shift + R is usefful to nuke cache)
|
|
|
|
## generate status PDF
|
|
|
|
Status are stored in [this online pad](https://md.interhacker.space/u2VNUSO6S36xx5Ensc3FCw).
|
|
|
|
PDF can be generated thanks to `pandoc` and the good old `curl` this way:
|
|
|
|
```sh
|
|
curl -s https://md.interhacker.space/u2VNUSO6S36xx5Ensc3FCw/download | pandoc -V geometry:margin=3cm -o status.pdf
|
|
```
|