diff options
author | RomainMou <58464216+RomainMou@users.noreply.github.com> | 2023-08-22 14:55:10 -0700 |
---|---|---|
committer | RomainMou <58464216+RomainMou@users.noreply.github.com> | 2023-08-22 14:55:10 -0700 |
commit | f311b1f3aadfb0ee1d3a1175b1f12cf18da32ed6 (patch) | |
tree | ce0f2eeec3fabd4fb36ae9b0952838a02598cdde /pkg/docker | |
parent | c79c60be1c83c268b65b167935448b86ee4c5f98 (diff) | |
download | unit-f311b1f3aadfb0ee1d3a1175b1f12cf18da32ed6.tar.gz unit-f311b1f3aadfb0ee1d3a1175b1f12cf18da32ed6.tar.bz2 |
Docker: avoid error if /docker-entrypoint.d already exists.
Closes #865.
Diffstat (limited to 'pkg/docker')
-rw-r--r-- | pkg/docker/template.Dockerfile | 2 |
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 \ |