From c9bd1b6cadc05c1c22f9f34bcbe60b28c934daa9 Mon Sep 17 00:00:00 2001 From: Michele Bologna Date: Sat, 18 Apr 2020 12:36:32 +0200 Subject: [PATCH] Fix: remove workdir in Dockerfile It fixes the following permission problem: ``` % docker-compose up -d Starting bitlbee ... Starting bitlbee ... error ERROR: for bitlbee Cannot start service app: OCI runtime create failed: container_linux.go:346: starting container process caused "chdir to cwd (\"/root\") set in config.json failed: permission denied": unknown ERROR: for app Cannot start service app: OCI runtime create failed: container_linux.go:346: starting container process caused "chdir to cwd (\"/root\") set in config.json failed: permission denied": unknown ERROR: Encountered errors while bringing up the project. ``` --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8dc8a2d..d01f25c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,6 @@ LABEL version="mb-3.6-20200107" ENV BITLBEE_VERSION=3.6 -WORKDIR /root COPY build.sh /root RUN /root/build.sh