docker-compose build fails for the following error:
Your bundle is locked to mimemagic (0.3.5), but that version could not be found
in any of the sources listed in your Gemfile. If you haven't changed sources,
that means the author of mimemagic (0.3.5) has removed it. You'll need to update
your bundle to a version other than mimemagic (0.3.5) that hasn't been removed
in order to install.
The command '/bin/sh -c apk update && apk add build-base && echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main/' >> /etc/apk/repositories && apk --update --upgrade add $BUILD_PACKAGES $NMAP_PACKAGES $PACKAGES $DEV_PACKAGES && echo 'gem: --no-document' >> ~/.gemrc && cp ~/.gemrc /etc/gemrc && chmod uog+r /etc/gemrc && gem install bundler:2.1.4 && bundle config --global build.nokogiri "--use-system-libraries" && bundle config --global build.nokogumbo "--use-system-libraries" && find / -type f -iname *.apk-new -delete && rm -rf /var/cache/apk/ && rm -rf /usr/lib/lib/ruby/gems//cache/* && rm -rf ~/.gem && mkdir -p /usr/src/app/envizon && cd /usr/src/app/envizon && mv /Gemfile.lock /usr/src/app/envizon && mv /Gemfile /usr/src/app/envizon && mkdir .ssl && bundle install' returned a non-zero code: 7
ERROR: Service 'sidekiq-single' failed to build : Build failed
Steps to Reproduce
Build a new Ubuntu 20.04 server
Install docker from official sources
git clone https://github.com/evait-security/envizon
cd envizon/docker/envizon_local
echo SECRET_KEY_BASE="$(echo $(openssl rand -hex 64) | tr -d '\n')" > .envizon_secret.env
docker-compose build
Description
docker-compose build fails for the following error:
Your bundle is locked to mimemagic (0.3.5), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of mimemagic (0.3.5) has removed it. You'll need to update your bundle to a version other than mimemagic (0.3.5) that hasn't been removed in order to install. The command '/bin/sh -c apk update && apk add build-base && echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main/' >> /etc/apk/repositories && apk --update --upgrade add $BUILD_PACKAGES $NMAP_PACKAGES $PACKAGES $DEV_PACKAGES && echo 'gem: --no-document' >> ~/.gemrc && cp ~/.gemrc /etc/gemrc && chmod uog+r /etc/gemrc && gem install bundler:2.1.4 && bundle config --global build.nokogiri "--use-system-libraries" && bundle config --global build.nokogumbo "--use-system-libraries" && find / -type f -iname *.apk-new -delete && rm -rf /var/cache/apk/ && rm -rf /usr/lib/lib/ruby/gems//cache/* && rm -rf ~/.gem && mkdir -p /usr/src/app/envizon && cd /usr/src/app/envizon && mv /Gemfile.lock /usr/src/app/envizon && mv /Gemfile /usr/src/app/envizon && mkdir .ssl && bundle install' returned a non-zero code: 7 ERROR: Service 'sidekiq-single' failed to build : Build failed
Steps to Reproduce
Build a new Ubuntu 20.04 server Install docker from official sources git clone https://github.com/evait-security/envizon cd envizon/docker/envizon_local echo SECRET_KEY_BASE="$(echo $(openssl rand -hex 64) | tr -d '\n')" > .envizon_secret.env docker-compose build