From 73adf677cdb4b79ff4c98fb19aca11802e0d0ec9 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Mon, 4 Mar 2019 08:02:36 -0800 Subject: [PATCH] Add "libgmp-dev" and "gmp-dev" persistently --- 2.3/alpine3.7/Dockerfile | 4 +++- 2.3/alpine3.8/Dockerfile | 4 +++- 2.3/jessie/slim/Dockerfile | 2 +- 2.3/stretch/slim/Dockerfile | 2 +- 2.4/alpine3.8/Dockerfile | 4 +++- 2.4/alpine3.9/Dockerfile | 4 +++- 2.4/jessie/slim/Dockerfile | 2 +- 2.4/stretch/slim/Dockerfile | 2 +- 2.5/alpine3.8/Dockerfile | 4 +++- 2.5/alpine3.9/Dockerfile | 4 +++- 2.5/stretch/slim/Dockerfile | 2 +- 2.6/alpine3.8/Dockerfile | 4 +++- 2.6/alpine3.9/Dockerfile | 4 +++- 2.6/stretch/slim/Dockerfile | 2 +- Dockerfile-alpine.template | 4 +++- Dockerfile-slim.template | 2 +- 16 files changed, 34 insertions(+), 16 deletions(-) diff --git a/2.3/alpine3.7/Dockerfile b/2.3/alpine3.7/Dockerfile index 118f76046..1a9e4ab1d 100644 --- a/2.3/alpine3.7/Dockerfile +++ b/2.3/alpine3.7/Dockerfile @@ -1,5 +1,8 @@ FROM alpine:3.7 +RUN apk add --no-cache \ + gmp-dev + # skip installing gem documentation RUN mkdir -p /usr/local/etc \ && { \ @@ -28,7 +31,6 @@ RUN set -ex \ gcc \ gdbm-dev \ glib-dev \ - gmp-dev \ libc-dev \ libffi-dev \ libxml2-dev \ diff --git a/2.3/alpine3.8/Dockerfile b/2.3/alpine3.8/Dockerfile index 59e810506..4bc0ab1ad 100644 --- a/2.3/alpine3.8/Dockerfile +++ b/2.3/alpine3.8/Dockerfile @@ -1,5 +1,8 @@ FROM alpine:3.8 +RUN apk add --no-cache \ + gmp-dev + # skip installing gem documentation RUN mkdir -p /usr/local/etc \ && { \ @@ -28,7 +31,6 @@ RUN set -ex \ gcc \ gdbm-dev \ glib-dev \ - gmp-dev \ libc-dev \ libffi-dev \ libxml2-dev \ diff --git a/2.3/jessie/slim/Dockerfile b/2.3/jessie/slim/Dockerfile index 6605ade07..7748b65ac 100644 --- a/2.3/jessie/slim/Dockerfile +++ b/2.3/jessie/slim/Dockerfile @@ -6,6 +6,7 @@ RUN apt-get update \ ca-certificates \ libffi-dev \ libgdbm3 \ + libgmp-dev \ libssl-dev \ libyaml-dev \ procps \ @@ -37,7 +38,6 @@ RUN set -ex \ libbz2-dev \ libgdbm-dev \ libglib2.0-dev \ - libgmp-dev \ libncurses-dev \ libreadline-dev \ libxml2-dev \ diff --git a/2.3/stretch/slim/Dockerfile b/2.3/stretch/slim/Dockerfile index 365f2faf7..eea5ed4a6 100644 --- a/2.3/stretch/slim/Dockerfile +++ b/2.3/stretch/slim/Dockerfile @@ -6,6 +6,7 @@ RUN apt-get update \ ca-certificates \ libffi-dev \ libgdbm3 \ + libgmp-dev \ libssl1.0-dev \ libyaml-dev \ procps \ @@ -37,7 +38,6 @@ RUN set -ex \ libbz2-dev \ libgdbm-dev \ libglib2.0-dev \ - libgmp-dev \ libncurses-dev \ libreadline-dev \ libxml2-dev \ diff --git a/2.4/alpine3.8/Dockerfile b/2.4/alpine3.8/Dockerfile index 92779e404..feb58701a 100644 --- a/2.4/alpine3.8/Dockerfile +++ b/2.4/alpine3.8/Dockerfile @@ -1,5 +1,8 @@ FROM alpine:3.8 +RUN apk add --no-cache \ + gmp-dev + # skip installing gem documentation RUN mkdir -p /usr/local/etc \ && { \ @@ -28,7 +31,6 @@ RUN set -ex \ gcc \ gdbm-dev \ glib-dev \ - gmp-dev \ libc-dev \ libffi-dev \ libxml2-dev \ diff --git a/2.4/alpine3.9/Dockerfile b/2.4/alpine3.9/Dockerfile index 6ce8f4b06..60d56dc10 100644 --- a/2.4/alpine3.9/Dockerfile +++ b/2.4/alpine3.9/Dockerfile @@ -1,5 +1,8 @@ FROM alpine:3.9 +RUN apk add --no-cache \ + gmp-dev + # skip installing gem documentation RUN mkdir -p /usr/local/etc \ && { \ @@ -28,7 +31,6 @@ RUN set -ex \ gcc \ gdbm-dev \ glib-dev \ - gmp-dev \ libc-dev \ libffi-dev \ libxml2-dev \ diff --git a/2.4/jessie/slim/Dockerfile b/2.4/jessie/slim/Dockerfile index 49ee44bd2..6b59a2346 100644 --- a/2.4/jessie/slim/Dockerfile +++ b/2.4/jessie/slim/Dockerfile @@ -6,6 +6,7 @@ RUN apt-get update \ ca-certificates \ libffi-dev \ libgdbm3 \ + libgmp-dev \ libssl-dev \ libyaml-dev \ procps \ @@ -37,7 +38,6 @@ RUN set -ex \ libbz2-dev \ libgdbm-dev \ libglib2.0-dev \ - libgmp-dev \ libncurses-dev \ libreadline-dev \ libxml2-dev \ diff --git a/2.4/stretch/slim/Dockerfile b/2.4/stretch/slim/Dockerfile index 34c9e302c..c48601e88 100644 --- a/2.4/stretch/slim/Dockerfile +++ b/2.4/stretch/slim/Dockerfile @@ -6,6 +6,7 @@ RUN apt-get update \ ca-certificates \ libffi-dev \ libgdbm3 \ + libgmp-dev \ libssl-dev \ libyaml-dev \ procps \ @@ -37,7 +38,6 @@ RUN set -ex \ libbz2-dev \ libgdbm-dev \ libglib2.0-dev \ - libgmp-dev \ libncurses-dev \ libreadline-dev \ libxml2-dev \ diff --git a/2.5/alpine3.8/Dockerfile b/2.5/alpine3.8/Dockerfile index 50dce149d..965b74a3f 100644 --- a/2.5/alpine3.8/Dockerfile +++ b/2.5/alpine3.8/Dockerfile @@ -1,5 +1,8 @@ FROM alpine:3.8 +RUN apk add --no-cache \ + gmp-dev + # skip installing gem documentation RUN mkdir -p /usr/local/etc \ && { \ @@ -28,7 +31,6 @@ RUN set -ex \ gcc \ gdbm-dev \ glib-dev \ - gmp-dev \ libc-dev \ libffi-dev \ libxml2-dev \ diff --git a/2.5/alpine3.9/Dockerfile b/2.5/alpine3.9/Dockerfile index ccf57d9a9..130dd109c 100644 --- a/2.5/alpine3.9/Dockerfile +++ b/2.5/alpine3.9/Dockerfile @@ -1,5 +1,8 @@ FROM alpine:3.9 +RUN apk add --no-cache \ + gmp-dev + # skip installing gem documentation RUN mkdir -p /usr/local/etc \ && { \ @@ -28,7 +31,6 @@ RUN set -ex \ gcc \ gdbm-dev \ glib-dev \ - gmp-dev \ libc-dev \ libffi-dev \ libxml2-dev \ diff --git a/2.5/stretch/slim/Dockerfile b/2.5/stretch/slim/Dockerfile index 255b02db5..ccd90b43d 100644 --- a/2.5/stretch/slim/Dockerfile +++ b/2.5/stretch/slim/Dockerfile @@ -6,6 +6,7 @@ RUN apt-get update \ ca-certificates \ libffi-dev \ libgdbm3 \ + libgmp-dev \ libssl-dev \ libyaml-dev \ procps \ @@ -37,7 +38,6 @@ RUN set -ex \ libbz2-dev \ libgdbm-dev \ libglib2.0-dev \ - libgmp-dev \ libncurses-dev \ libreadline-dev \ libxml2-dev \ diff --git a/2.6/alpine3.8/Dockerfile b/2.6/alpine3.8/Dockerfile index 4bb66c7ca..73457f3c9 100644 --- a/2.6/alpine3.8/Dockerfile +++ b/2.6/alpine3.8/Dockerfile @@ -1,5 +1,8 @@ FROM alpine:3.8 +RUN apk add --no-cache \ + gmp-dev + # skip installing gem documentation RUN mkdir -p /usr/local/etc \ && { \ @@ -27,7 +30,6 @@ RUN set -ex \ gcc \ gdbm-dev \ glib-dev \ - gmp-dev \ libc-dev \ libffi-dev \ libxml2-dev \ diff --git a/2.6/alpine3.9/Dockerfile b/2.6/alpine3.9/Dockerfile index 72826da6b..5bb07bce8 100644 --- a/2.6/alpine3.9/Dockerfile +++ b/2.6/alpine3.9/Dockerfile @@ -1,5 +1,8 @@ FROM alpine:3.9 +RUN apk add --no-cache \ + gmp-dev + # skip installing gem documentation RUN mkdir -p /usr/local/etc \ && { \ @@ -27,7 +30,6 @@ RUN set -ex \ gcc \ gdbm-dev \ glib-dev \ - gmp-dev \ libc-dev \ libffi-dev \ libxml2-dev \ diff --git a/2.6/stretch/slim/Dockerfile b/2.6/stretch/slim/Dockerfile index 438bc8f4d..d992e2cbf 100644 --- a/2.6/stretch/slim/Dockerfile +++ b/2.6/stretch/slim/Dockerfile @@ -6,6 +6,7 @@ RUN apt-get update \ ca-certificates \ libffi-dev \ libgdbm3 \ + libgmp-dev \ libssl-dev \ libyaml-dev \ procps \ @@ -36,7 +37,6 @@ RUN set -ex \ libbz2-dev \ libgdbm-dev \ libglib2.0-dev \ - libgmp-dev \ libncurses-dev \ libreadline-dev \ libxml2-dev \ diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 7a07b247f..75bc220aa 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -1,5 +1,8 @@ FROM alpine:%%PLACEHOLDER%% +RUN apk add --no-cache \ + gmp-dev + # skip installing gem documentation RUN mkdir -p /usr/local/etc \ && { \ @@ -28,7 +31,6 @@ RUN set -ex \ gcc \ gdbm-dev \ glib-dev \ - gmp-dev \ libc-dev \ libffi-dev \ libxml2-dev \ diff --git a/Dockerfile-slim.template b/Dockerfile-slim.template index 2fde2d1b3..ccbe8b728 100644 --- a/Dockerfile-slim.template +++ b/Dockerfile-slim.template @@ -6,6 +6,7 @@ RUN apt-get update \ ca-certificates \ libffi-dev \ libgdbm3 \ + libgmp-dev \ libssl-dev \ libyaml-dev \ procps \ @@ -37,7 +38,6 @@ RUN set -ex \ libbz2-dev \ libgdbm-dev \ libglib2.0-dev \ - libgmp-dev \ libncurses-dev \ libreadline-dev \ libxml2-dev \