-
-
Save chrisdone/52124977ff5b6833558544f977423f0c to your computer and use it in GitHub Desktop.
closure compiler docker file
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 debian:buster-20211011-slim | |
RUN apt-get update -y && apt-get install curl -y | |
RUN curl -L https://github.com/bazelbuild/bazelisk/releases/download/v1.11.0/bazelisk-linux-amd64 -o /bin/bazelisk && \ | |
chmod +x /bin/bazelisk && \ | |
bazelisk --help | |
RUN apt-get install default-jre default-jdk -y | |
RUN apt-get install -y git | |
ENV LANG C.UTF-8 | |
ENV LC_ALL C.UTF-8 | |
ENV LANGUAGE C.UTF-8 | |
# System deps | |
RUN apt-get update -y && apt-get install curl gnupg -y && \ | |
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 -y && \ | |
apt-get install -y nodejs yarn git npm | |
# without this the build fails: | |
RUN apt-get install unzip zip -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment