sameersbn / sameersbn/docker-gitlab

Failed to build 12.0.12 version

Open
#2,407 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
8.1k
Forks
2.1k
Avg merge
17h 47m
Merged PRs (30d)
7

Description

I want to get docker-gitlab version 12.0.12 image.
But I can not found . So ,i clone source code and checkout to 12.0.4, edit Dockerfile .
like this:

ARG VERSION=12.0.12

then, docker build -t gitlabce:12.0.12 .

then failed. the error told this:

Fetching gem metadata from https://rubygems.org/........
Your bundle is locked to mimemagic (0.3.2), 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.2) has removed it. You'll need to update
your bundle to a version other than mimemagic (0.3.2) that hasn't been removed
in order to install.
The command '/bin/sh -c bash ${GITLAB_BUILD_DIR}/install.sh' returned a non-zero code: 7

how to handle this problem? plz

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Dockerfile and install.sh, using ARG VERSION=12.0.12 and the reported docker build command to reproduce the failure. Trace the dependency-install step that reports the locked mimemagic (0.3.2) gem error. Done means the 12.0.12 image builds successfully with the requested tag.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, ruby, shell
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.