diff --git a/Dockerfile b/Dockerfile index a8f6855..048613f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:testing +FROM alpine:latest LABEL org.opencontainers.image.title="ratgdo-remote-logging" LABEL org.opencontainers.image.source="https://github.com/ratgdo/remote-logging" @@ -8,16 +8,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-only" ENV HOST="" ENV LOG_FILE="/log/ratgdo.log" -RUN mkdir -p /log - -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update && \ - apt-get install -y --no-install-recommends \ - ca-certificates \ - curl \ - iputils-ping && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* +RUN mkdir -p /log && \ + apk add --no-cache bash curl ca-certificates WORKDIR /app COPY --chmod=755 ratgdo-logger.sh .