diff --git a/Dockerfile b/Dockerfile index 650e22f..510b3b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,10 +4,11 @@ FROM alpine:3.20.3 AS build ARG PKG #COPY ./hopm /usr/src/hopm WORKDIR /src -RUN apk add --no-cache --virtual build ${PKG} \ +RUN apk add --no-cache --virtual .build-deps ${PKG} \ && git clone --depth 1 https://github.com/ircd-hybrid/hopm.git /src \ && ./configure --prefix=/app --sysconfdir=/hopm \ - && make && make install + && make && make install \ + && apk del .build-deps FROM alpine:3.20.3 AS app COPY --from=build /app /app