Skip to content

Instantly share code, notes, and snippets.

@esromneb
Created August 27, 2022 23:39
Show Gist options
  • Save esromneb/a6f853aba5ccc99889189b6209ce8ceb to your computer and use it in GitHub Desktop.
Save esromneb/a6f853aba5ccc99889189b6209ce8ceb to your computer and use it in GitHub Desktop.
Dockerfile to install the travis-cli util
FROM ubuntu:focal-20220531
MAINTAINER ben
ENV DEBIAN_FRONTEND noninteractive
ENV DISPLAY :0
ENV LC_ALL=C
RUN apt-get update && \
apt-get install -y \
ruby-full \
git \
curl wget vim nano \
sudo \
\
&& \
apt-get autoremove -y && \
apt-get clean
RUN gem install travis --no-document
# this should work, but when I login it doesn't
# RUN echo 'y' | travis
WORKDIR /src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment