mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2025-12-20 02:18:51 +00:00
Remove entrypoint.sh as it is not needed
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -4,7 +4,6 @@ ARG docker_version="25.0.4"
|
||||
FROM docker:${docker_version}-cli-alpine${alpine_version}
|
||||
|
||||
COPY --chmod=0755 ./cmd.sh /usr/local/bin/cmd.sh
|
||||
COPY --chmod=0755 ./entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
COPY requirements.txt /root/
|
||||
WORKDIR /root
|
||||
|
||||
@@ -18,5 +17,5 @@ RUN apk add --no-cache \
|
||||
# Tests fall over without it. Investigate later.
|
||||
&& sed -i 's|/bin/sh|/bin/bash|g' /usr/lib/python3.11/site-packages/testinfra/backend/docker.py
|
||||
|
||||
ENTRYPOINT ["/bin/sh","-c","entrypoint.sh"]
|
||||
CMD ["/bin/sh","-c","cmd.sh"]
|
||||
SHELL ["/bin/sh", "-c"]
|
||||
CMD ["cmd.sh"]
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
set -ex && cmd.sh
|
||||
Reference in New Issue
Block a user