Skip to content

Instantly share code, notes, and snippets.

@matheussilvasantos
Created May 8, 2019 09:38
Show Gist options
  • Save matheussilvasantos/f4719d7ad56db5c9f41b505abbef0c93 to your computer and use it in GitHub Desktop.
Save matheussilvasantos/f4719d7ad56db5c9f41b505abbef0c93 to your computer and use it in GitHub Desktop.
Dockerfile for CodeBuild
FROM ruby:2.6.3
RUN curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - &&
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - &&
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list &&
sudo apt-get update &&
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev \
libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common \
libffi-dev nodejs yarn
RUN sudo apt-get install mysql-server mysql-client libmysqlclient-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment