Running GoosyMock on Docker¶
Getting the image¶
GoosyMock is providing container images for every application build that's
hosted on ghcr.io
repository. You can also build the image on your own by
using predefined task
target.
From ghcr.io
repository¶
Both latest and previous versions of GoosyMock image are available on
ghcr.io
repository.
In order to pull the image, you need to execute docker pull
command.
Building image manually¶
Prerequisites
- Git 2.34+
- Docker 4.16+
- Taskfile 3.17+
Cloning the repository¶
Building the image¶
Using Taskfile
This project utilizes Taskfile for build
automatization. If you are willing to use task
command for building
binaries, please install Taskfile as described in
official documentation.
Image will be built with current commit SHA & latest tag name as image tag.
Starting the image¶
Using docker run
command¶
VERSION="latest" # Use the version number you want
docker run --rm -it ghcr.io/icikowski/goosymock:latest /
-p 8080:8080 /
-p 8081:8081 /
Using docker compose
command¶
Last update:
2023-03-31