Skip to content
Snippets Groups Projects
Commit a9014fa6 authored by Michał 'rysiek' Woźniak's avatar Michał 'rysiek' Woźniak
Browse files

since they're used at build time, PNGQUANT_VERSION, GIFSICLE_VERSION,...

since they're used at build time, PNGQUANT_VERSION, GIFSICLE_VERSION, DISCOURSE_VERSION should be build args, not envvars
parent bbd10aae
No related branches found
No related tags found
1 merge request!7PNGQUANT_VERSION, GIFSICLE_VERSION, DISCOURSE_VERSION as build args, not envvars
......@@ -2,15 +2,16 @@ FROM rails
WORKDIR /usr/src/app
ENV DISCOURSE_VERSION=1.7.0.beta3 \
RAILS_ENV=production \
ARG DISCOURSE_VERSION=1.7.0.beta3
ARG GIFSICLE_VERSION=1.87
ARG PNGQUANT_VERSION=2.4.1
ENV RAILS_ENV=production \
RUBY_GC_MALLOC_LIMIT=90000000 \
RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 \
DISCOURSE_DB_HOST=postgres \
DISCOURSE_REDIS_HOST=redis \
DISCOURSE_SERVE_STATIC_ASSETS=true \
GIFSICLE_VERSION=1.87 \
PNGQUANT_VERSION=2.4.1
DISCOURSE_SERVE_STATIC_ASSETS=true
RUN curl --silent --location https://deb.nodesource.com/setup_4.x | bash - \
&& apt-get update && apt-get install -y --no-install-recommends \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment