Skip to content

Commit a018116

Browse files
committed
Fix command parameter support by preserving upstream entrypoint
1 parent 161950e commit a018116

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ FROM archivebox/archivebox:0.8.5rc51
44
USER root
55

66
# Install Chrome as root
7-
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
8-
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' > /etc/apt/sources.list.d/google-chrome.list && \
7+
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor -o /usr/share/keyrings/google-chrome-keyring.gpg && \
8+
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome-keyring.gpg] http://dl.google.com/linux/chrome/deb/ stable main' > /etc/apt/sources.list.d/google-chrome.list && \
99
apt update && \
1010
apt install -y google-chrome-stable && \
1111
rm -rf /var/lib/apt/lists/*
1212

1313
# Switch back to archivebox user
1414
USER archivebox
1515

16-
# Default command (can be overridden in docker-compose)
16+
# Keep the original entrypoint, only override the default command
1717
CMD ["archivebox", "server", "--quick-init", "0.0.0.0:8024"]

0 commit comments

Comments
 (0)