mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
baseimage: switch to official ubuntu:xenial-20180705 image
This commit is contained in:
parent
795852e30e
commit
46e45c92da
15
Dockerfile
15
Dockerfile
@ -1,4 +1,5 @@
|
||||
FROM sameersbn/ubuntu:16.04.20180706
|
||||
FROM ubuntu:xenial-20180705
|
||||
|
||||
LABEL maintainer="sameer@damagehead.com"
|
||||
|
||||
ENV GITLAB_VERSION=11.1.0 \
|
||||
@ -24,7 +25,10 @@ ENV GITLAB_INSTALL_DIR="${GITLAB_HOME}/gitlab" \
|
||||
GITLAB_BUILD_DIR="${GITLAB_CACHE_DIR}/build" \
|
||||
GITLAB_RUNTIME_DIR="${GITLAB_CACHE_DIR}/runtime"
|
||||
|
||||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E1DD270288B4E6030699E45FA1715D88E1DF1F24 \
|
||||
RUN apt-get update \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
|
||||
wget ca-certificates apt-transport-https \
|
||||
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E1DD270288B4E6030699E45FA1715D88E1DF1F24 \
|
||||
&& echo "deb http://ppa.launchpad.net/git-core/ppa/ubuntu xenial main" >> /etc/apt/sources.list \
|
||||
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 80F70E11F0F0D5F10CB20E62F5DA5F09C3173AA6 \
|
||||
&& echo "deb http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu xenial main" >> /etc/apt/sources.list \
|
||||
@ -37,14 +41,13 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E1DD270288B4E60
|
||||
&& wget --quiet -O - https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||
&& echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list \
|
||||
&& apt-get update \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y supervisor logrotate locales curl \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
|
||||
sudo supervisor logrotate locales curl \
|
||||
nginx openssh-server mysql-client postgresql-client redis-tools \
|
||||
git-core gnupg2 ruby${RUBY_VERSION} python2.7 python-docutils nodejs yarn gettext-base \
|
||||
libmysqlclient20 libpq5 zlib1g libyaml-0-2 libssl1.0.0 \
|
||||
libgdbm3 libreadline6 libncurses5 libffi6 \
|
||||
libxml2 libxslt1.1 libcurl3 libicu55 \
|
||||
libre2-dev \
|
||||
tzdata \
|
||||
libxml2 libxslt1.1 libcurl3 libicu55 libre2-dev tzdata \
|
||||
&& update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX \
|
||||
&& locale-gen en_US.UTF-8 \
|
||||
&& DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales \
|
||||
|
||||
@ -27,7 +27,7 @@ exec_as_git() {
|
||||
|
||||
# install build dependencies for gem installation
|
||||
apt-get update
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y ${BUILD_DEPENDENCIES}
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y ${BUILD_DEPENDENCIES}
|
||||
|
||||
# PaX-mark ruby
|
||||
# Applying the mark late here does make the build usable on PaX kernels, but
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user