Commit graph

21 commits

Author SHA1 Message Date
Stan Hu
9d6dd5061a
Update to Debian bullseye
bullseye is the latest stable, and this is what we will be using for
Cloud Native GitLab going forward so we should test with this.

Since an upgrade of the operating system may break pre-compiled C
extensions, we now introduce a DEBIAN environment flag that defaults
to the legacy buster install but allows us to roll out a bullseye
image with `debian-bullseye` as the image name prefix.
2022-02-09 14:15:39 -08:00
Jan Provaznik
8bd9fd997e Use C.UTF-8 2021-12-13 10:31:08 +00:00
Patrick Steinhardt
8380f29a24 scripts: Install libevent-dev dependency to fix pgbouncer build
The pgbouncer build is currently broken because of a missing build
dependency. This went unnoticed because the build script previously
didn't report any build errors.

Fix the build by installing the missing libevent-dev dependency.
2021-03-16 10:44:13 +01:00
Kamil Trzciński
ba4b0253d4 Install git-core 2021-02-03 10:56:53 +00:00
Kamil Trzciński
8321e76cab Install all required by GitLab dependencies 2021-02-02 20:18:37 +01:00
Stan Hu
a7a13a87d6 Add Ruby 2.7 images for GitLab CE/EE images
Ruby 2.7.1 is only available on Debian Buster, so we have to upgrade
from Debian Stretch.

Fix install-essentials for Debian 10 (Buster):

1. MySQL client is no longer needed
2. Yank libgdbm3 and libgdbm-dev because it's not clear why it's needed
3. Pull legacy nodejs from Debian Buster builds since Node 12.x conflicted
2020-08-04 12:57:50 -07:00
Zeger-Jan van de Weg
3c77806597
Add rsync to essentials to be installed
Gitaly now depends on rsync, and in general it's a tool I expected to be
installed by default. Adding rsync allows Gitaly to build releases again
too.
2019-06-04 19:53:37 +02:00
Lukas Eipert
5380948868
Ensure that package managers clean up
Every package manager should clean up after themselves in order to keep
docker layers neat and tiny:

apt (Debian/Ubuntu package manager):

 - unneeded dependencies are cleared (autoremove)
 - caches are cleaned (clean)
 - package lists are deleted

yum (CentOS package manager),
zypper (OpenSuse package manager)

 - should clear caches after installing dependencies

pip (Python package manager),
apk (Alpine package manager)

 - should use no cache for installing dependencies
2018-10-04 23:29:51 +02:00
Stan Hu
00a575107e Remove system git from base install
In many images, this added a duplicate version of git, which led to
confusion.

Closes #19
2018-05-19 04:56:43 -07:00
Andrew Newdigate
6725e787b0 Fix for bug that forces all Go binaries to be based on Go 1.8 (the default) 2017-12-21 11:55:07 +00:00
Andrew Newdigate
81d80aa564 Keep the build images DRY 2017-08-08 17:58:52 +00:00
Nick Thomas
6eccaea96c Add libre2-dev to the build image 2017-05-26 15:52:04 +01:00
Nick Thomas
0108ade696 Remove cached .deb files to reduce image size 2017-02-10 16:39:23 +00:00
Nick Thomas
3a23bcdbf0 Remove stretch from the list of apt sources after installing git 2017-02-10 16:37:59 +00:00
Z.J. van de Weg
d0830864e3 Install git from Debian strech sources 2016-09-23 19:43:43 +03:00
Achilleas Pipinellis
d03b1b934c Use an entry in /etc/locale.gen 2016-09-07 22:40:26 +02:00
Achilleas Pipinellis
5d15c62821 Generate UTF-8 locales and set ENV
http://jaredmarkell.com/docker-and-locales/
2016-09-01 16:06:21 +02:00
Kamil Trzcinski
1f71111819 Don't install knapsack 2016-06-06 16:54:53 +02:00
Kamil Trzcinski
e66d2b805b Install knapsack 2016-06-04 00:26:52 +02:00
Kamil Trzcinski
6dad0f0c69 Fix apt-get install 2016-04-15 15:26:43 +02:00
Kamil Trzcinski
aefaed4d90 initial commit 2016-04-15 15:12:47 +02:00