Created
December 3, 2018 14:19
-
-
Save tomzo/4d1fa43fe703bb870cddcc6d87fdea09 to your computer and use it in GitHub Desktop.
GoCD build failing
This file contains 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 openjdk:8-jdk | |
MAINTAINER Tomasz Sętkowski <tom@ai-traders.com> | |
RUN apt-get update && apt-get install -y -q \ | |
sudo fakeroot git nsis rpm unzip zip mercurial rake subversion wget | |
# install nodejs, update-alternatives is needed on ubuntu to enable command 'node' | |
RUN curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - &&\ | |
apt-get install --yes nodejs && update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10 | |
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&\ | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list &&\ | |
apt-get update && apt-get install -y yarn | |
RUN apt-get install -y ruby-dev build-essential && \ | |
gem install fpm | |
RUN git clone --depth=1 --branch 18.11.0 https://github.com/gocd/gocd.git /gocd-build | |
RUN cd /gocd-build && ./gradlew clean serverPackageDeb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment