|
|
@ -7,7 +7,8 @@ FROM common AS builder |
|
|
|
RUN apk -U add alpine-sdk curl |
|
|
|
RUN adduser -D packager && addgroup packager abuild |
|
|
|
|
|
|
|
ENV MBUFFER_APKBUILD_URL=https://git.alpinelinux.org/aports/plain/testing/mbuffer/APKBUILD?id=026cabf316eb477b2ae3e26dadc3e9c30ff26626 |
|
|
|
## Orig: https://git.alpinelinux.org/aports/plain/testing/mbuffer/APKBUILD?id=026cabf316eb477b2ae3e26dadc3e9c30ff26626 |
|
|
|
ENV MBUFFER_APKBUILD_URL=https://docker.0k.io/downloads/mbuffer-alpine-APKBUILD |
|
|
|
|
|
|
|
USER packager |
|
|
|
|
|
|
@ -24,7 +25,7 @@ USER root |
|
|
|
|
|
|
|
RUN apk add curl |
|
|
|
|
|
|
|
RUN curl -L https://raw.githubusercontent.com/0k/pgm/0.0.4/bin/pgm > /bin/pgm && \ |
|
|
|
RUN curl -L https://raw.githubusercontent.com/0k/pgm/0.0.5/bin/pgm > /bin/pgm && \ |
|
|
|
chmod +x /bin/pgm |
|
|
|
|
|
|
|
FROM common |
|
|
@ -34,7 +35,7 @@ RUN apk -U add pv python2 file sed |
|
|
|
COPY --from=builder /home/packager/packages/tmp/x86_64/*.apk /tmp/ |
|
|
|
COPY --from=builder /bin/pgm /bin |
|
|
|
|
|
|
|
RUN apk add /tmp/mbuffer-2018*.apk --allow-untrusted |
|
|
|
RUN apk add /tmp/mbuffer-20*.apk --allow-untrusted |
|
|
|
|
|
|
|
RUN apk add gzip |
|
|
|
|
|
|
|