Last active
February 12, 2018 21:47
-
-
Save allenmichael/ab7cb1162f7581997362dde1dd8734e6 to your computer and use it in GitHub Desktop.
Java, .Net Core, and Node.js build tools
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 microsoft/dotnet | |
RUN apt-get update | |
RUN apt-get install -y curl unzip zip | |
RUN dotnet new -i Amazon.Lambda.Templates::* | |
RUN apt-get install -y groff-base | |
RUN wget https://bootstrap.pypa.io/get-pip.py | |
RUN python get-pip.py | |
RUN pip install awscli | |
RUN curl https://cloud.box.com/shared/static/p10oacdawh8pktgxut8uymrdxlmj9bfg.zip -LOk | |
RUN unzip p10oacdawh8pktgxut8uymrdxlmj9bfg.zip | |
RUN rm -rf p10oacdawh8pktgxut8uymrdxlmj9bfg.zip | |
RUN ln -s /publish/box /usr/local/bin/box | |
RUN curl https://services.gradle.org/distributions/gradle-4.5.1-bin.zip -LOk | |
RUN mkdir /opt/gradle | |
RUN unzip -d /opt/gradle/gradle-4.5.1-bin gradle-4.5.1-bin.zip | |
RUN ln -s /opt/gradle/gradle-4.5.1-bin/gradle-4.5.1/bin/gradle /usr/local/bin/gradle | |
RUN apt-get install -y default-jre default-jdk | |
RUN curl -sL https://deb.nodesource.com/setup_9.x | bash | |
RUN apt-get install -y nodejs |
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
#! /bin/bash | |
docker build -t box_webhooks . --no-cache | |
docker run -v "$( cd "$( dirname "${BASH_SOURCE[0]}" )"/ && pwd )":/env -it box_webhooks bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment