summaryrefslogtreecommitdiffhomepage
path: root/pkg/docker/template.Dockerfile
diff options
context:
space:
mode:
authorRomainMou <58464216+RomainMou@users.noreply.github.com>2023-08-22 14:55:10 -0700
committerRomainMou <58464216+RomainMou@users.noreply.github.com>2023-08-22 14:55:10 -0700
commitf311b1f3aadfb0ee1d3a1175b1f12cf18da32ed6 (patch)
treece0f2eeec3fabd4fb36ae9b0952838a02598cdde /pkg/docker/template.Dockerfile
parentc79c60be1c83c268b65b167935448b86ee4c5f98 (diff)
downloadunit-f311b1f3aadfb0ee1d3a1175b1f12cf18da32ed6.tar.gz
unit-f311b1f3aadfb0ee1d3a1175b1f12cf18da32ed6.tar.bz2
Docker: avoid error if /docker-entrypoint.d already exists.
Closes #865.
Diffstat (limited to '')
-rw-r--r--pkg/docker/template.Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/docker/template.Dockerfile b/pkg/docker/template.Dockerfile
index f3dfc8ee..803f5ca0 100644
--- a/pkg/docker/template.Dockerfile
+++ b/pkg/docker/template.Dockerfile
@@ -62,7 +62,7 @@ RUN set -ex \
&& { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } \
&& @@RUN@@ \
&& mkdir -p /var/lib/unit/ \
- && mkdir /docker-entrypoint.d/ \
+ && mkdir -p /docker-entrypoint.d/ \
&& groupadd --gid 999 unit \
&& useradd \
--uid 999 \