Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfiles: set DEBIAN_FRONTEND=noninteractive for apt-get. #1

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docker/Dockerfile-riak-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ARG RIAK_VSN

EXPOSE 8087 8098 9080

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y git wget g++ libpam0g-dev

ADD riak-${RIAK_VSN} /usr/src/S
Expand All @@ -16,6 +17,7 @@ ARG RIAK_VSN
ARG RCS_BACKEND_1
ARG RCS_BACKEND_2

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install libssl1.1 logrotate sudo

COPY --from=compile-image /usr/src/S/rel/riak /opt/riak
Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile-riak-3.0.x
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ARG RIAK_VSN

EXPOSE 8087 8098 9080

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y libssl-dev libpam0g-dev cmake

ADD riak-${RIAK_VSN} /usr/src/S
Expand All @@ -15,6 +16,7 @@ ARG RIAK_VSN
ARG RCS_BACKEND_1
ARG RCS_BACKEND_2

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install libssl1.1

COPY --from=compile-image /usr/src/S/rel/riak /opt/riak
Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile-riak-3.2.x
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ARG RIAK_VSN

EXPOSE 8087 8098 9080

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y libssl-dev libpam0g-dev cmake

ADD riak-${RIAK_VSN} /usr/src/S
Expand All @@ -15,6 +16,7 @@ ARG RIAK_VSN
ARG RCS_BACKEND_1
ARG RCS_BACKEND_2

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install libssl1.1

COPY --from=compile-image /usr/src/S/rel/riak /opt/riak
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile-riak_cs-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ARG RCS_VSN

EXPOSE 8080 8000

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && install -y git wget g++ libpam0g-dev

ADD riak_cs-${RCS_VSN} /usr/src/S
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile-riak_cs-3.0.x
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN make rel

FROM debian:buster AS runtime-image

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install libssl1.1

COPY --from=compile-image /usr/src/S/rel/riak-cs /opt/riak-cs
Expand Down
7 changes: 4 additions & 3 deletions docker/Dockerfile-riak_cs-3.1.x
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ ARG RCS_VSN

EXPOSE 8080 8000 8085

RUN apt-get -y install libssl-dev
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install libssl-dev

ADD riak_cs-${RCS_VSN} /usr/src/S
WORKDIR /usr/src/S
Expand All @@ -14,8 +15,8 @@ RUN make rel

FROM debian:bullseye AS runtime-image

RUN apt-get update
RUN apt-get -y install libssl1.1
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install libssl1.1

COPY --from=compile-image /usr/src/S/rel/riak-cs /opt/riak-cs
ENV RCS_PATH=/opt/riak-cs
Expand Down
5 changes: 3 additions & 2 deletions docker/Dockerfile-riak_cs-3.2.x
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ARG RCS_VSN

EXPOSE 8080 8000 8085

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install libssl-dev

ADD riak_cs-${RCS_VSN} /usr/src/S
Expand All @@ -14,8 +15,8 @@ RUN make rel

FROM debian:bullseye AS runtime-image

RUN apt-get update
RUN apt-get -y install libssl1.1 python3-boto3 python3-httplib2
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install libssl1.1 python3-boto3 python3-httplib2

COPY --from=compile-image /usr/src/S/rel/riak-cs /opt/riak-cs
ENV RCS_PATH=/opt/riak-cs
Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile-riak_cs_control-3.x
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ARG RCSC_VSN=3.0.0 \
FROM erlang:25 AS compile-image
ARG RCSC_VSN

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y libssl-dev

EXPOSE 8090
Expand All @@ -35,6 +36,7 @@ ENV CS_HOST=${CS_HOST} \
LOG_DIR=/opt/riak_cs_control/log \
LOGGER_LEVEL=info

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install libssl1.1

COPY --from=compile-image /usr/src/S/_build/rel/rel/riak_cs_control /opt/riak_cs_control
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile-stanchion-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ARG STANCHION_VSN

EXPOSE 8085

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && install -y git wget g++ libpam0g-dev

ADD stanchion-${STANCHION_VSN} /usr/src/S
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile-stanchion-3.x
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN make rel

FROM debian:buster AS runtime-image

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install libssl1.1

COPY --from=compile-image /usr/src/S/rel/stanchion /opt/stanchion
Expand Down