Skip to content

Instantly share code, notes, and snippets.

@allenmichael
Last active February 12, 2018 21:47
Show Gist options
  • Save allenmichael/ab7cb1162f7581997362dde1dd8734e6 to your computer and use it in GitHub Desktop.
Save allenmichael/ab7cb1162f7581997362dde1dd8734e6 to your computer and use it in GitHub Desktop.
Java, .Net Core, and Node.js build tools
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
#! /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