Commit d91a35ee authored by Michał Woźniak's avatar Michał Woźniak

support for installing packages via docker build args added

parent 89e95278
......@@ -22,6 +22,15 @@ RUN apt-get update && \
ruby2.0-dev \
nodejs && \
rm -rf /var/lib/apt/lists/*
# we might need to install some packages, but doing this in the entrypoint doesn't make any sense
ARG INSTALL_PACKAGES=
RUN if [ "$INSTALL_PACKAGES" != "" ]; then \
export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y \
$INSTALL_PACKAGES \
--no-install-recommends && \
rm -rf /var/lib/apt/lists/* ; \
fi
# Jekyll
RUN gem2.0 install jekyll bundle
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment