Skip to content

Commit ec07331

Browse files
authored
Prefer tideways published container over apt install (#543)
1 parent d8890ea commit ec07331

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
1-
FROM debian:stable-slim AS tideways-daemon
1+
FROM ghcr.io/tideways/daemon:latest
22

33
ARG TIDEWAYS_ENVIRONMENT_DEFAULT=production
44
ENV TIDEWAYS_ENVIRONMENT=$TIDEWAYS_ENVIRONMENT_DEFAULT
5-
6-
RUN apt update -y && apt install -yq --no-install-recommends gnupg2 curl sudo ca-certificates wget
7-
8-
RUN echo 'deb https://packages.tideways.com/apt-packages-main any-version main' > /etc/apt/sources.list.d/tideways.list && \
9-
wget -qO - 'https://packages.tideways.com/key.gpg' | apt-key add -
10-
RUN DEBIAN_FRONTEND=noninteractive apt update -y && apt install -yq tideways-daemon && \
11-
apt autoremove --assume-yes && \
12-
apt clean && \
13-
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
14-
15-
ENTRYPOINT ["tideways-daemon","--hostname=tideways","--address=0.0.0.0:9135"]

0 commit comments

Comments
 (0)