Skip to content

Commit

Permalink
Update packaging instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
coudot committed Dec 30, 2024
1 parent 355c3b0 commit 5364de9
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions packaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,29 @@ rpm --addsign RPMS/noarch/service-desk*

## 4 - Docker

From current directory, do:
Pre-requisites:

* docker / podman
* if docker: a version with buildkit (included by default in Docker Engine
as of version 23.0, but can be enabled in previous versions with
DOCKER_BUILDKIT=1 in build command line)

From "packaging" directory, do:

```
DOCKER_BUILDKIT=1 docker build -t service-desk -f ./docker/Dockerfile ../
```

You can also build with podman:

```
podman build --no-cache -t service-desk -f ./docker/Dockerfile ../
```

Tag the `latest` image with the major and minor version, for example:

```
docker build -t service-desk -f ./docker/Dockerfile ../
docker tag service-desk:latest ltbproject/service-desk:1.6.1
docker tag service-desk:latest ltbproject/service-desk:1.6
docker tag service-desk:latest ltbproject/service-desk:latest
```

0 comments on commit 5364de9

Please sign in to comment.