summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorÇağatay Erem <cagatayerem@gmail.com>2024-05-31 23:17:14 +0200
committerÇağatay EREM <cagatay.erem@seyirmobil.com>2024-06-04 10:17:02 +0200
commita5f82baa9b90d090dc93691bb23015d1eebd6df7 (patch)
tree7658b74951596dc445cab1b820308757183c32d7 /docker
parentMerge pull request #16111 from donaldsharp/ospfv3_read_after (diff)
downloadfrr-a5f82baa9b90d090dc93691bb23015d1eebd6df7.tar.xz
frr-a5f82baa9b90d090dc93691bb23015d1eebd6df7.zip
docker: fix chmod issues when running debian container
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 <cagatayerem@gmail.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/debian/Dockerfile2
1 files changed, 1 insertions, 1 deletions
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"]