Skip to content

Instantly share code, notes, and snippets.

@chrisdone
Created December 29, 2021 15:30
Show Gist options
  • Save chrisdone/52124977ff5b6833558544f977423f0c to your computer and use it in GitHub Desktop.
Save chrisdone/52124977ff5b6833558544f977423f0c to your computer and use it in GitHub Desktop.
closure compiler docker file
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