Merge pull request #3002 from avoidik/master
docker - add libtool, fix url context path
This commit is contained in:
commit
a0c2357d81
@ -3,6 +3,8 @@ FROM alpine:3.8
|
|||||||
ARG VERSION
|
ARG VERSION
|
||||||
ENV VERSION master
|
ENV VERSION master
|
||||||
|
|
||||||
|
ARG URLCONTEXT
|
||||||
|
|
||||||
ENV uid 1337
|
ENV uid 1337
|
||||||
ENV gid 1337
|
ENV gid 1337
|
||||||
ENV user lemur
|
ENV user lemur
|
||||||
@ -22,6 +24,7 @@ RUN addgroup -S ${group} -g ${gid} && \
|
|||||||
gcc \
|
gcc \
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
|
libtool \
|
||||||
make \
|
make \
|
||||||
nasm \
|
nasm \
|
||||||
zlib-dev \
|
zlib-dev \
|
||||||
@ -42,7 +45,7 @@ WORKDIR /opt/lemur
|
|||||||
RUN npm install --unsafe-perm && \
|
RUN npm install --unsafe-perm && \
|
||||||
pip3 install -e . && \
|
pip3 install -e . && \
|
||||||
node_modules/.bin/gulp build && \
|
node_modules/.bin/gulp build && \
|
||||||
node_modules/.bin/gulp package --urlContextPath=$(urlContextPath) && \
|
node_modules/.bin/gulp package --urlContextPath=${URLCONTEXT} && \
|
||||||
apk del build-dependencies
|
apk del build-dependencies
|
||||||
|
|
||||||
COPY entrypoint /
|
COPY entrypoint /
|
||||||
|
@ -3,6 +3,8 @@ FROM alpine:3.8
|
|||||||
ARG VERSION
|
ARG VERSION
|
||||||
ENV VERSION master
|
ENV VERSION master
|
||||||
|
|
||||||
|
ARG URLCONTEXT
|
||||||
|
|
||||||
ENV uid 1337
|
ENV uid 1337
|
||||||
ENV gid 1337
|
ENV gid 1337
|
||||||
ENV user lemur
|
ENV user lemur
|
||||||
@ -22,6 +24,7 @@ RUN addgroup -S ${group} -g ${gid} && \
|
|||||||
gcc \
|
gcc \
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
|
libtool \
|
||||||
make \
|
make \
|
||||||
nasm \
|
nasm \
|
||||||
zlib-dev \
|
zlib-dev \
|
||||||
@ -42,7 +45,7 @@ RUN chown -R $user:$group /opt/lemur/ /home/lemur/.lemur/ && \
|
|||||||
npm install --unsafe-perm && \
|
npm install --unsafe-perm && \
|
||||||
pip3 install -e . && \
|
pip3 install -e . && \
|
||||||
node_modules/.bin/gulp build && \
|
node_modules/.bin/gulp build && \
|
||||||
node_modules/.bin/gulp package --urlContextPath=$(urlContextPath) && \
|
node_modules/.bin/gulp package --urlContextPath=${URLCONTEXT} && \
|
||||||
apk del build-dependencies
|
apk del build-dependencies
|
||||||
|
|
||||||
COPY docker/entrypoint /
|
COPY docker/entrypoint /
|
||||||
|
Loading…
Reference in New Issue
Block a user