mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
fix image builds on docker hub
This commit is contained in:
parent
011b0af72f
commit
2ca3c61261
@ -51,7 +51,7 @@ RUN apt-get update \
|
||||
&& update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX \
|
||||
&& locale-gen en_US.UTF-8 \
|
||||
&& DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales \
|
||||
&& gem install --no-document bundler \
|
||||
&& gem install --no-document bundler -v 1.17.3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY assets/build/ ${GITLAB_BUILD_DIR}/
|
||||
|
||||
@ -166,7 +166,7 @@ exec_as_git yarn install --production --pure-lockfile
|
||||
exec_as_git yarn add ajv@^4.0.0
|
||||
|
||||
echo "Compiling assets. Please be patient, this could take a while..."
|
||||
exec_as_git bundle exec rake gitlab:assets:compile USE_DB=false SKIP_STORAGE_VALIDATION=true
|
||||
exec_as_git bundle exec rake gitlab:assets:compile USE_DB=false SKIP_STORAGE_VALIDATION=true NODE_OPTIONS="--max-old-space-size=4096"
|
||||
|
||||
# remove auto generated ${GITLAB_DATA_DIR}/config/secrets.yml
|
||||
rm -rf ${GITLAB_DATA_DIR}/config/secrets.yml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user