fix(test) interactive rake install

<https://serverfault.com/a/797318/78829>
This commit is contained in:
Nanda Lopes
2020-12-02 11:00:51 -03:00
parent fede3c04f6
commit ab2cee9f59

View File

@@ -1,8 +1,6 @@
FROM ubuntu:18.04 FROM ubuntu:18.04
LABEL maintainer="Luiz Filho <lfilho@gmail.com>" LABEL maintainer="Luiz Filho <lfilho@gmail.com>"
# Let the container know that there is no tty
ENV DEBIAN_FRONTEND noninteractive
ENV TERM xterm-256color ENV TERM xterm-256color
# Bootstrapping packages needed for installation # Bootstrapping packages needed for installation
@@ -23,7 +21,8 @@ RUN localedef -i en_US -f UTF-8 en_US.UTF-8 && \
# Install dependencies # Install dependencies
# `universe` is needed for ruby # `universe` is needed for ruby
# `security` is needed for fontconfig and fc-cache # `security` is needed for fontconfig and fc-cache
RUN \ # Let the container know that there is no tty
RUN DEBIAN_FRONTEND=noninteractive \
add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe security" && \ add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe security" && \
add-apt-repository ppa:aacebedo/fasd && \ add-apt-repository ppa:aacebedo/fasd && \
apt-get update && \ apt-get update && \