diff --git a/Dockerfile b/Dockerfile index d9f9718a..d1b26065 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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}/ diff --git a/assets/build/install.sh b/assets/build/install.sh index bd0e1124..8eb9ecad 100755 --- a/assets/build/install.sh +++ b/assets/build/install.sh @@ -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