Created
July 9, 2020 07:44
-
-
Save shemul/2b04bfad88baea1404518720d5946c4c to your computer and use it in GitHub Desktop.
simple docker for gitlab CI. includes ssh, git, docker, docker-compose and go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
MAINTAINER Kief H. Shemul <[email protected]> | |
# Update and upgrade repo | |
RUN apt-get update -y -q && apt-get upgrade -y -q | |
# Install tools we might need | |
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y -q curl build-essential ca-certificates git docker.io | |
RUN curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose | |
RUN chmod +x /usr/local/bin/docker-compose | |
# Download Go 1.2.2 and install it to /usr/local/go | |
RUN curl -s https://storage.googleapis.com/golang/go1.14.linux-amd64.tar.gz| tar -v -C /usr/local -xz | |
# Let's people find our Go binaries | |
ENV PATH $PATH:/usr/local/go/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment