From a5f82baa9b90d090dc93691bb23015d1eebd6df7 Mon Sep 17 00:00:00 2001 From: Çağatay Erem Date: Sat, 1 Jun 2024 00:17:14 +0300 Subject: docker: fix chmod issues when running debian container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I had problem by running container after build. It gave the error below in container, [FATAL tini (7)] exec /usr/lib/frr/docker-start failed: Permission denied So I have fixed the permission issues after building images. Signed-off-by: Çağatay Erem --- docker/debian/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker') diff --git a/docker/debian/Dockerfile b/docker/debian/Dockerfile index d136538c7..b317b0598 100644 --- a/docker/debian/Dockerfile +++ b/docker/debian/Dockerfile @@ -24,5 +24,5 @@ RUN chown -R frr:frr /etc/frr /var/run/frr ENTRYPOINT ["/usr/bin/tini", "--"] # Default CMD starts watchfrr -COPY docker-start /usr/lib/frr/docker-start +COPY --chmod=0755 docker-start /usr/lib/frr/docker-start CMD ["/usr/lib/frr/docker-start"] -- cgit v1.2.3