File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,13 @@ LABEL maintainer "hi@joserobinson.com"
4
4
5
5
RUN export DEBIAN_FRONTEND=noninteractive
6
6
7
- RUN apt-get update && \
8
- apt-get install -y curl git libreadline-dev libmcrypt-dev && \
9
- apt-get build-dep -y php5-cli
7
+ RUN apt-get update \
8
+ && apt-get install -y curl git libreadline-dev libmcrypt-dev \
9
+ && apt-get build-dep -y php5-cli
10
10
11
- RUN git clone git://github.com/phpenv/phpenv.git $HOME/.phpenv && \
12
- echo 'export PATH="$HOME/.phpenv/bin:$PATH"' >> ~/.bash_profile && \
13
- echo 'eval "$(phpenv init -)"' >> ~/.bash_profile && \
14
- cd $HOME/.phpenv && \
15
- git reset --hard origin/master && \
16
- source ~/.bash_profile && \
17
- phpenv rehash
11
+ RUN git clone git://github.com/phpenv/phpenv.git $HOME/.phpenv \
12
+ && echo 'export PATH="$HOME/.phpenv/bin:$PATH"' >> ~/.bashrc \
13
+ && echo 'eval "$(phpenv init -)"' >> ~/.bashrc \
14
+ && cd $HOME/.phpenv \
15
+ && git reset --hard origin/master \
16
+ && $HOME/.phpenv/bin/phpenv rehash
You can’t perform that action at this time.
0 commit comments