Docker-gitlab: Tag for 8.6.0

Created on 23 Mar 2016  路  5Comments  路  Source: sameersbn/docker-gitlab

I think it's available from :latest, but is there a special reason why there's no 8.6.0 tag here?

Most helpful comment

Quick Fix it should work for other sub uri than /gitlab but not tested

docker exec -it gitlab bash
export RELATIVE_URL="/gitlab"
sed -i 's:try_files $uri $uri/ /index.html $uri.html @gitlab;:alias /home/git/gitlab/public/assets;:' /etc/nginx/sites-enabled/gitlab
sed -i "s:url(/assets/:url(${RELATIVE_URL}/assets/:g" application-c0f2658d29adbe2eb8bff8f10d06476438d47a6f3d756ab00e20ed87803333e9.css
sed -i "s:url(\"/assets/:url(\"${RELATIVE_URL}/assets/:g" application-c0f2658d29adbe2eb8bff8f10d06476438d47a6f3d756ab00e20ed87803333e9.css
supervisorcrl restart nginx

Could you consider something like this ? maybe for a 8.6.1-beta release ?

All 5 comments

8.6.1 is available. They are really fast :)

there are some issues regarding relative_url with the 8.6 release. https://github.com/sameersbn/docker-gitlab/issues/39#issuecomment-200297120

Thank you for the info.

Another option would be a 8.6.0-beta1 tag for this repo.

@schmunk42 added a 8.6.0-beta1 tag.

Quick Fix it should work for other sub uri than /gitlab but not tested

docker exec -it gitlab bash
export RELATIVE_URL="/gitlab"
sed -i 's:try_files $uri $uri/ /index.html $uri.html @gitlab;:alias /home/git/gitlab/public/assets;:' /etc/nginx/sites-enabled/gitlab
sed -i "s:url(/assets/:url(${RELATIVE_URL}/assets/:g" application-c0f2658d29adbe2eb8bff8f10d06476438d47a6f3d756ab00e20ed87803333e9.css
sed -i "s:url(\"/assets/:url(\"${RELATIVE_URL}/assets/:g" application-c0f2658d29adbe2eb8bff8f10d06476438d47a6f3d756ab00e20ed87803333e9.css
supervisorcrl restart nginx

Could you consider something like this ? maybe for a 8.6.1-beta release ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paolomainardi picture paolomainardi  路  4Comments

martinspaeth picture martinspaeth  路  3Comments

chenjie4255 picture chenjie4255  路  3Comments

laoshancun picture laoshancun  路  5Comments

pmoralesp picture pmoralesp  路  3Comments