- Setup the app using postgres
- Skip bundle install
- Skip test files
rails _4.2.7.1_ new myapp -T -d postgresql --skip-turbolinks -B
{ | |
"attachment":{ | |
"type":"audio", | |
"payload":{ | |
"url":"https://petersapparel.com/bin/clip.mp3" | |
} | |
} | |
} |
FROM cypress/included:3.3.0 | |
RUN apt-get update && apt-get install -y wget | |
ENV DOCKERIZE_VERSION v0.6.1 | |
RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ | |
&& tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ | |
&& rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz | |
RUN npm install [email protected] |
#!/bin/sh | |
# Use this as the command for the user script | |
# curl https://gist.githubusercontent.com/aaronromeo/a683c9810aad108fab2ae6b3bc583372/raw/medusa.sh | sh | |
# add docker | |
sudo apt update | |
sudo apt install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" |