Skip to content

Instantly share code, notes, and snippets.

@ermogenes
Last active October 11, 2023 01:07
Show Gist options
  • Save ermogenes/607dd43c06cc02e809361074f3a7bd36 to your computer and use it in GitHub Desktop.
Save ermogenes/607dd43c06cc02e809361074f3a7bd36 to your computer and use it in GitHub Desktop.
Expo prebuild env
FROM ubuntu:22.04
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y apt-utils curl git build-essential
RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
RUN (echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /root/.profile
ENV BREW_HOME /home/linuxbrew/.linuxbrew/bin/
ENV PATH "$PATH:$BREW_HOME"
RUN brew update
RUN brew install gcc watchman node
ENV HOME /root
WORKDIR ${HOME}/
ENTRYPOINT ["/bin/bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment