Moved to https://weakish.github.io/StutteringTalkaholic/dive-into/fish/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
MAINTAINER Seonghwan Lee <[email protected]> | |
RUN cd /etc/apt && \ | |
sed -i 's/archive.ubuntu.com/kr.archive.ubuntu.com/g' sources.list | |
RUN apt-get update | |
RUN apt-get install -y git curl python | |
RUN apt-get install -y ruby2.0 ruby2.0-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The initial version | |
if [ ! -f .env ] | |
then | |
export $(cat .env | xargs) | |
fi | |
# My favorite from the comments. Thanks @richarddewit & others! | |
set -a && source .env && set +a |