Skip to content

Commit 59ba44e

Browse files
gparantmoufmouf
authored andcommitted
Build for arm64
- Remove tini
1 parent bf213ed commit 59ba44e

8 files changed

+1
-43
lines changed

Dockerfile.14-apache-bullseye

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,6 @@ RUN mkdir -p /var/www/html && chown docker:docker /var/www/html
186186
WORKDIR /var/www/html
187187

188188

189-
# Add Tini (to be able to stop the container with ctrl-c.
190-
# See: https://github.com/krallin/tini
191-
ENV TINI_VERSION v0.16.1
192-
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
193-
RUN chmod +x /tini
194-
195189
COPY utils/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
196190
COPY utils/docker-entrypoint-as-root.sh /usr/local/bin/docker-entrypoint-as-root.sh
197191
COPY utils/startup_commands.js /usr/local/bin/startup_commands.js

Dockerfile.14-bullseye

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,6 @@ RUN mkdir -p /usr/src/app && chown docker:docker /usr/src/app
116116
WORKDIR /usr/src/app
117117

118118

119-
# Add Tini (to be able to stop the container with ctrl-c.
120-
# See: https://github.com/krallin/tini
121-
ENV TINI_VERSION v0.16.1
122-
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
123-
RUN chmod +x /tini
124-
125119
COPY utils/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
126120
COPY utils/docker-entrypoint-as-root.sh /usr/local/bin/docker-entrypoint-as-root.sh
127121
COPY utils/startup_commands.js /usr/local/bin/startup_commands.js

Dockerfile.16-apache-bullseye

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,6 @@ RUN mkdir -p /var/www/html && chown docker:docker /var/www/html
186186
WORKDIR /var/www/html
187187

188188

189-
# Add Tini (to be able to stop the container with ctrl-c.
190-
# See: https://github.com/krallin/tini
191-
ENV TINI_VERSION v0.16.1
192-
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
193-
RUN chmod +x /tini
194-
195189
COPY utils/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
196190
COPY utils/docker-entrypoint-as-root.sh /usr/local/bin/docker-entrypoint-as-root.sh
197191
COPY utils/startup_commands.js /usr/local/bin/startup_commands.js

Dockerfile.16-bullseye

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,6 @@ RUN mkdir -p /usr/src/app && chown docker:docker /usr/src/app
116116
WORKDIR /usr/src/app
117117

118118

119-
# Add Tini (to be able to stop the container with ctrl-c.
120-
# See: https://github.com/krallin/tini
121-
ENV TINI_VERSION v0.16.1
122-
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
123-
RUN chmod +x /tini
124-
125119
COPY utils/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
126120
COPY utils/docker-entrypoint-as-root.sh /usr/local/bin/docker-entrypoint-as-root.sh
127121
COPY utils/startup_commands.js /usr/local/bin/startup_commands.js

Dockerfile.18-apache-bullseye

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,6 @@ RUN mkdir -p /var/www/html && chown docker:docker /var/www/html
186186
WORKDIR /var/www/html
187187

188188

189-
# Add Tini (to be able to stop the container with ctrl-c.
190-
# See: https://github.com/krallin/tini
191-
ENV TINI_VERSION v0.16.1
192-
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
193-
RUN chmod +x /tini
194-
195189
COPY utils/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
196190
COPY utils/docker-entrypoint-as-root.sh /usr/local/bin/docker-entrypoint-as-root.sh
197191
COPY utils/startup_commands.js /usr/local/bin/startup_commands.js

Dockerfile.18-bullseye

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,6 @@ RUN mkdir -p /usr/src/app && chown docker:docker /usr/src/app
116116
WORKDIR /usr/src/app
117117

118118

119-
# Add Tini (to be able to stop the container with ctrl-c.
120-
# See: https://github.com/krallin/tini
121-
ENV TINI_VERSION v0.16.1
122-
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
123-
RUN chmod +x /tini
124-
125119
COPY utils/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
126120
COPY utils/docker-entrypoint-as-root.sh /usr/local/bin/docker-entrypoint-as-root.sh
127121
COPY utils/startup_commands.js /usr/local/bin/startup_commands.js

utils/Dockerfile.blueprint

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,6 @@ RUN mkdir -p /var/www/html && chown docker:docker /var/www/html
193193
WORKDIR /var/www/html
194194
{{ end }}
195195

196-
# Add Tini (to be able to stop the container with ctrl-c.
197-
# See: https://github.com/krallin/tini
198-
ENV TINI_VERSION v0.19.0
199-
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-$( dpkg --print-architecture ) /tini
200-
RUN chmod +x /tini
201-
202196
COPY utils/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
203197
COPY utils/docker-entrypoint-as-root.sh /usr/local/bin/docker-entrypoint-as-root.sh
204198
COPY utils/startup_commands.js /usr/local/bin/startup_commands.js

utils/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
set -e
44

5-
exec "sudo" "-E" "/tini" "-g" "-s" "--" "/usr/local/bin/docker-entrypoint-as-root.sh" "$@";
5+
exec "sudo" "-E" "/usr/local/bin/docker-entrypoint-as-root.sh" "$@";

0 commit comments

Comments
 (0)