Skip to content

Commit

Permalink
Add DEBIAN_FRONTEND=noninteractive to some Dockerfiles
Browse files Browse the repository at this point in the history
This is to workaround tzdata which prompts interactively by default.
  • Loading branch information
kanaka committed Aug 5, 2024
1 parent a1dac3c commit a9f031a
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion impls/coffee/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ WORKDIR /mal
# Specific implementation requirements
##########################################################

RUN apt-get -y install coffeescript g++ libreadline-dev npm
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install coffeescript g++ libreadline-dev npm
ENV NPM_CONFIG_CACHE /mal/.npm
RUN touch /.coffee_history && chmod go+w /.coffee_history
2 changes: 1 addition & 1 deletion impls/erlang/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ WORKDIR /mal
# Specific implementation requirements
##########################################################

RUN apt-get -y install erlang rebar
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install erlang rebar
2 changes: 1 addition & 1 deletion impls/es6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ WORKDIR /mal
# Specific implementation requirements
##########################################################

RUN apt-get install -y g++ libreadline-dev npm
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y g++ libreadline-dev npm

ENV NPM_CONFIG_CACHE /mal/.npm
2 changes: 1 addition & 1 deletion impls/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ WORKDIR /mal
# Specific implementation requirements
##########################################################

RUN apt-get -y install g++ golang libedit-dev pkg-config
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install g++ golang libedit-dev pkg-config
2 changes: 1 addition & 1 deletion impls/haxe/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ WORKDIR /mal
##########################################################

# Haxe
RUN apt-get -y install g++ haxe libreadline-dev npm
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install g++ haxe libreadline-dev npm

ENV NPM_CONFIG_CACHE /mal/.npm
ENV HOME /
Expand Down
2 changes: 1 addition & 1 deletion impls/js/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ WORKDIR /mal
# Specific implementation requirements
##########################################################

RUN apt-get -y install g++ libreadline-dev nodejs npm
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install g++ libreadline-dev nodejs npm

ENV NPM_CONFIG_CACHE /mal/.npm
4 changes: 2 additions & 2 deletions impls/logo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ WORKDIR /mal
# * Add the timems function implemented in C

RUN echo 'deb-src http://deb.debian.org/debian stable main' > /etc/apt/sources.list.d/logo.list
RUN apt -y update
RUN apt -y install autoconf autoconf-archive automake dpkg-dev g++ libncurses-dev
RUN apt-get -y update
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install autoconf autoconf-archive automake dpkg-dev g++ libncurses-dev

RUN cd /tmp \
&& apt source ucblogo \
Expand Down
2 changes: 1 addition & 1 deletion impls/prolog/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ WORKDIR /mal
# Specific implementation requirements
##########################################################

RUN apt-get -y install swi-prolog-nox
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install swi-prolog-nox
2 changes: 1 addition & 1 deletion impls/r/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ WORKDIR /mal
# Specific implementation requirements
##########################################################

RUN apt-get -y install curl gcc libc-dev libreadline-dev r-base-core
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install curl gcc libc-dev libreadline-dev r-base-core
4 changes: 2 additions & 2 deletions impls/skew/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ WORKDIR /mal
# Specific implementation requirements
##########################################################

RUN apt-get -y install npm
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install npm

ENV NPM_CONFIG_CACHE /mal/.npm

# Skew
RUN npm install -g skew
RUN DEBIAN_FRONTEND=noninteractive npm install -g skew
2 changes: 1 addition & 1 deletion impls/ts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ WORKDIR /mal
# Specific implementation requirements
##########################################################

RUN apt-get -y install libreadline-dev nodejs npm
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libreadline-dev nodejs npm

ENV NPM_CONFIG_CACHE /mal/.npm

0 comments on commit a9f031a

Please sign in to comment.