Skip to content

Commit a2fb2ac

Browse files
authored
Merge pull request #311 from infosiftr/procps-redux
Add "procps" to Alpine images (remove from Ubuntu, where it was unnecessary)
2 parents c222f0a + 09b7eef commit a2fb2ac

File tree

8 files changed

+20
-12
lines changed

8 files changed

+20
-12
lines changed

3.7-rc/alpine/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# Alpine Linux is not officially supported by the RabbitMQ team -- use at your own risk!
22
FROM alpine:3.8
33

4+
RUN apk add --no-cache \
45
# grab su-exec for easy step-down from root
6+
'su-exec>=0.2' \
57
# bash for docker-entrypoint.sh
6-
RUN apk add --no-cache 'su-exec>=0.2' bash
8+
bash \
9+
# "ps" for "rabbitmqctl wait" (https://github.com/docker-library/rabbitmq/issues/162)
10+
procps
711

812
# Default to a PGP keyserver that pgp-happy-eyeballs recognizes, but allow for substitutions locally
913
ARG PGP_KEYSERVER=ha.pool.sks-keyservers.net

3.7-rc/ubuntu/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ RUN set -eux; \
77
apt-get install -y --no-install-recommends \
88
# grab gosu for easy step-down from root
99
gosu \
10-
# grab "ps" for "rabbitmqctl wait" (https://github.com/docker-library/rabbitmq/issues/162)
11-
procps \
1210
; \
1311
rm -rf /var/lib/apt/lists/*; \
1412
# verify that the "gosu" binary works

3.7/alpine/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# Alpine Linux is not officially supported by the RabbitMQ team -- use at your own risk!
22
FROM alpine:3.8
33

4+
RUN apk add --no-cache \
45
# grab su-exec for easy step-down from root
6+
'su-exec>=0.2' \
57
# bash for docker-entrypoint.sh
6-
RUN apk add --no-cache 'su-exec>=0.2' bash
8+
bash \
9+
# "ps" for "rabbitmqctl wait" (https://github.com/docker-library/rabbitmq/issues/162)
10+
procps
711

812
# Default to a PGP keyserver that pgp-happy-eyeballs recognizes, but allow for substitutions locally
913
ARG PGP_KEYSERVER=ha.pool.sks-keyservers.net

3.7/ubuntu/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ RUN set -eux; \
77
apt-get install -y --no-install-recommends \
88
# grab gosu for easy step-down from root
99
gosu \
10-
# grab "ps" for "rabbitmqctl wait" (https://github.com/docker-library/rabbitmq/issues/162)
11-
procps \
1210
; \
1311
rm -rf /var/lib/apt/lists/*; \
1412
# verify that the "gosu" binary works

3.8-rc/alpine/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# Alpine Linux is not officially supported by the RabbitMQ team -- use at your own risk!
22
FROM alpine:3.8
33

4+
RUN apk add --no-cache \
45
# grab su-exec for easy step-down from root
6+
'su-exec>=0.2' \
57
# bash for docker-entrypoint.sh
6-
RUN apk add --no-cache 'su-exec>=0.2' bash
8+
bash \
9+
# "ps" for "rabbitmqctl wait" (https://github.com/docker-library/rabbitmq/issues/162)
10+
procps
711

812
# Default to a PGP keyserver that pgp-happy-eyeballs recognizes, but allow for substitutions locally
913
ARG PGP_KEYSERVER=ha.pool.sks-keyservers.net

3.8-rc/ubuntu/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ RUN set -eux; \
77
apt-get install -y --no-install-recommends \
88
# grab gosu for easy step-down from root
99
gosu \
10-
# grab "ps" for "rabbitmqctl wait" (https://github.com/docker-library/rabbitmq/issues/162)
11-
procps \
1210
; \
1311
rm -rf /var/lib/apt/lists/*; \
1412
# verify that the "gosu" binary works

Dockerfile-alpine.template

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# Alpine Linux is not officially supported by the RabbitMQ team -- use at your own risk!
22
FROM alpine:3.8
33

4+
RUN apk add --no-cache \
45
# grab su-exec for easy step-down from root
6+
'su-exec>=0.2' \
57
# bash for docker-entrypoint.sh
6-
RUN apk add --no-cache 'su-exec>=0.2' bash
8+
bash \
9+
# "ps" for "rabbitmqctl wait" (https://github.com/docker-library/rabbitmq/issues/162)
10+
procps
711

812
# Default to a PGP keyserver that pgp-happy-eyeballs recognizes, but allow for substitutions locally
913
ARG PGP_KEYSERVER=ha.pool.sks-keyservers.net

Dockerfile-ubuntu.template

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ RUN set -eux; \
77
apt-get install -y --no-install-recommends \
88
# grab gosu for easy step-down from root
99
gosu \
10-
# grab "ps" for "rabbitmqctl wait" (https://github.com/docker-library/rabbitmq/issues/162)
11-
procps \
1210
; \
1311
rm -rf /var/lib/apt/lists/*; \
1412
# verify that the "gosu" binary works

0 commit comments

Comments
 (0)