Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Fuchsia OS build env Dockerfile
FROM ubuntu:latest
MAINTAINER Mindon Feng <>
ENV INSTALLER apt-get install -y --no-install-recommends
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update
RUN $INSTALLER python2.7 \
git \
curl \
ca-certificates \
unzip \
xz-utils \
gsutil \
make \
gcc \
libglib2.0 \
ninja-build \
gcc \
RUN ln -s /usr/bin/python2.7 /usr/bin/python
RUN curl -O \
&& tar -C /usr/local -xzf go1.11.4.linux-amd64.tar.gz \
&& rm -f go1.11.4.linux-amd64.tar.gz
ENV PATH=$PATH:/usr/local/go/bin
RUN curl -s "" | base64 --decode > bootstrap
RUN rm -rf ~/.cache/pip \
/var/cache/apt/archives \
/var/lib/apt/lists/* \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.