Instantly share code, notes, and snippets.

Embed
What would you like to do?
FROM circleci/golang:1.8.1
COPY *.list /etc/apt/sources.list.d/
RUN sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
RUN sudo apt update
RUN sudo apt install -y \
ansible \
postgresql-client \
python3-pip \
ffmpeg \
jq \
&& sudo rm -rf /var/lib/apt/lists/*
RUN go get github.com/mattn/goveralls
RUN go get github.com/go-playground/overalls
# Installing awscli with pip because it contains the ecs command
RUN sudo pip3 install awscli
RUN aws --version
RUN wget https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/4.2.0/flyway-commandline-4.2.0-linux-x64.tar.gz && \
tar xvzf flyway-commandline-4.2.0-linux-x64.tar.gz
ENV PATH="/go/flyway-4.2.0/:${PATH}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment