Sign inSign up

panser/static-gitlab

By panser

•Updated about 10 years ago

Artifact
Image
0

365

panser/static-gitlab repository overview

docker build -t panser/static-gitlab:1.0.0 -t panser/static-gitlab:latest .
docker run -it --name static-gitlab -h static-gitlab -v /vagrant/docker/static-gitlab:/docker -p 4567:4567 panser/static-gitlab

after-run

# cd /docker/www-gitlab-com
# bundle install
# bundle exec middleman

Dockfile

FROM ubuntu
MAINTAINER Sergey Panov <[email protected]>

RUN apt-get update
RUN apt-get install -y aptitude vim telnet atop tmux sudo rsync net-tools git nano
RUN ln -svf /usr/share/zoneinfo/Etc/GMT /etc/localtime

# add user
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
RUN echo "docker ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/docker

EXPOSE 4567

USER docker
CMD /bin/bash


## static-gitlab
RUN sudo aptitude install -y ruby-full libgnutls-openssl-dev
RUN sudo gem install bundler

ENV LANG=C.UTF-8
ENV LANGUAGE=C.UTF-8
ENV LC_ALL=C.UTF-8

## by hand
# cd /docker/
# git clone https://gitlab.com/gitlab-com/www-gitlab-com
# cd www-gitlab-com

# cd /docker/www-gitlab-com
# bundle install
# bundle exec middleman


# tmux
##tmux set -g status off
#^B-C
# ...
#^B-C


Tag summary

Content type

Unrecognized

Digest

Size

221.8 MB

Last updated

about 10 years ago

docker pull panser/static-gitlab