Giter VIP home page Giter VIP logo

docker-gitlab-dev's People

Watchers

 avatar  avatar

Forkers

zertrin

docker-gitlab-dev's Issues

"gitlab-start" command: No Gemfile or .bundle directory in /home/git/src

Hi!

I'm very interested in a Docker only image for the GDK.

I've found your repository here and tried to make it work on my system. After many small changes to adapt it (minor things like I don't speak polish and don't live in the same TZ), I've come pretty far to make it work, but I'm blocked at the very end by something that I don't understand.

The last step is running gitlab-start to actually start gitlab in the container.

The code for this command is:

#!/bin/bash

cd /home/git/src/gitlab
bundle install
cd /home/git/src
bundle install                       # <--- I'm blocked here
bundle exec foreman start

But this fails at the step bundle install because there is no Gemfile or .bundle directory in the GDK itself...

Did I miss something?

For reference, this is what I managed to do so far:

  • Build the docker image on the host with make
  • Start the container with gdk start
  • In a separate screen: start postgresql in the container with gdk pg_on_running
  • In a separate screen: start redis in the container with gdk redis_on_running
  • In the container started with gdk start:
    • gitlab-setup
    • (Optional step: fight with bundler because of random "SSL connection reset by peer" errors while downloading the gems. In the end, just run bundle install in the gitlab folder for as many times as needed until it can download and install all the gems)
    • gitlab-start is failing (this issue)

Change internal user name from `dev` to `git`

After running rake spec I've got a message:

  You are running as user *dev*, we hope you know what you are doing.
  Things may work/fail for the wrong reasons.
  For correct results you should run this as user *git*

I don't think it is necessary to change the user name but it seems to be a good idea.
The username git is not mentioned literally in GitLab Development Kit's README file, but the error message bothers me :).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.