diff --git a/docker/Dockerfile b/docker/Dockerfile index 013bcdd..384ec8e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -74,3 +74,5 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* COPY --from=builder $GOPATH/bin/debos /usr/local/bin/debos + +ENTRYPOINT ["/usr/local/bin/debos"] diff --git a/docker/README.md b/docker/README.md index 19292d4..508132e 100644 --- a/docker/README.md +++ b/docker/README.md @@ -15,7 +15,7 @@ Check that `kvm` is enabled and writable by the user running the docker containe To build `recipe.yaml`: ``` cd -docker run --rm --interactive --tty --device /dev/kvm --user $(id -u) --workdir /recipes --mount "type=bind,source=$(pwd),destination=/recipes" --security-opt label=disable godebos/debos debos +docker run --rm --interactive --tty --device /dev/kvm --user $(id -u) --workdir /recipes --mount "type=bind,source=$(pwd),destination=/recipes" --security-opt label=disable godebos/debos ``` ## Container build diff --git a/docker/recipes.test.yml b/docker/recipes.test.yml index 0370569..18d4aca 100644 --- a/docker/recipes.test.yml +++ b/docker/recipes.test.yml @@ -11,4 +11,4 @@ services: source: ./tests target: /recipes working_dir: /recipes - command: debos simple-recipe.yaml + command: simple-recipe.yaml