File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
FROM php:7.1-apache-stretch
2
2
3
+ ENV LD_LIBRARY_PATH /usr/local/instantclient
4
+
5
+ # Setup the required extensions.
6
+ ARG DEBIAN_FRONTEND=noninteractive
7
+
8
+ # Install NVM and the current (as of 26/02/2019) LTS version of Node.
9
+ ENV NVM_DIR /usr/local/nvm
10
+ ENV NODE_VERSION lts/carbon
11
+ RUN mkdir -p $NVM_DIR && \
12
+ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash && \
13
+ . $NVM_DIR/nvm.sh && nvm install $NODE_VERSION && nvm use --delete-prefix $NODE_VERSION
14
+
3
15
ADD root/ /
4
16
# Fix the original permissions of /tmp, the PHP default upload tmp dir.
5
17
RUN chmod 777 /tmp && chmod +t /tmp
6
18
7
19
# Setup the required extensions.
8
- ARG DEBIAN_FRONTEND=noninteractive
9
20
RUN /tmp/setup/php-extensions.sh
10
21
RUN /tmp/setup/oci8-extension.sh
11
22
ENV LD_LIBRARY_PATH /usr/local/instantclient
You can’t perform that action at this time.
0 commit comments