From 748c82520213dacb957e9994942f415970e19d13 Mon Sep 17 00:00:00 2001 From: Gernot Nusshall Date: Wed, 13 Nov 2019 22:11:09 +0100 Subject: [PATCH] cleaner startup exec in order to build the image and run the container with podman/libpod --- docker/amd64/mysql/Dockerfile.alpine | 3 ++- docker/amd64/postgresql/Dockerfile.alpine | 3 ++- docker/amd64/sqlite/Dockerfile.alpine | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docker/amd64/mysql/Dockerfile.alpine b/docker/amd64/mysql/Dockerfile.alpine index ad7df060..e7e1f782 100644 --- a/docker/amd64/mysql/Dockerfile.alpine +++ b/docker/amd64/mysql/Dockerfile.alpine @@ -82,4 +82,5 @@ COPY docker/healthcheck.sh ./healthcheck.sh HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 # Configures the startup! -CMD ["./bitwarden_rs"] \ No newline at end of file +WORKDIR / +CMD ["/bitwarden_rs"] diff --git a/docker/amd64/postgresql/Dockerfile.alpine b/docker/amd64/postgresql/Dockerfile.alpine index 16938ee5..e2faec08 100644 --- a/docker/amd64/postgresql/Dockerfile.alpine +++ b/docker/amd64/postgresql/Dockerfile.alpine @@ -83,4 +83,5 @@ COPY docker/healthcheck.sh ./healthcheck.sh HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 # Configures the startup! -CMD ["./bitwarden_rs"] \ No newline at end of file +WORKDIR / +CMD ["/bitwarden_rs"] diff --git a/docker/amd64/sqlite/Dockerfile.alpine b/docker/amd64/sqlite/Dockerfile.alpine index e54881bc..1687dfb9 100644 --- a/docker/amd64/sqlite/Dockerfile.alpine +++ b/docker/amd64/sqlite/Dockerfile.alpine @@ -77,4 +77,5 @@ HEALTHCHECK --interval=30s --timeout=3s CMD sh healthcheck.sh || exit 1 # Configures the startup! -CMD ["./bitwarden_rs"] +WORKDIR / +CMD ["/bitwarden_rs"]