Commit graph

17 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
Takuya Noguchi
e29a606bbc Use npm repo instead of apt on Yarn install
Co-authored-by: Lukas 'Eipi' Eipert <leipert@gitlab.com>
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-04-27 14:19:31 +00:00
Takuya Noguchi
adc2958921 Upgrade the default Node.js version from 12.4.0 to 14.16.0
Also node-14 will be changed from 14.15.4 to 14.16.0 as intended,
while node-12 will not be changed staying with 12.4.0.

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-02-27 13:25:53 +00:00
Lukas Eipert
034a8bd568
Update to yarn 1.21.1
Last year there was a recommended security update:
https://classic.yarnpkg.com/blog/2019/07/12/recommended-security-update/

This updates yarn to the latest stable version
2020-02-05 21:27:58 +01:00
Lukas Eipert
caae675aee
Pin node versions 2019-07-09 03:37:09 +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
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
Stan Hu
af7bfb8e6a Remove unnecessary comment 2017-11-07 18:25:27 +00:00
Jose Ivan Vargas
5ee94c9921 renamed node and yarn variables 2017-11-07 10:43:40 -06:00
Stan Hu
5932ece8d0 Handle patch releases inside NODE_VERSION 2017-11-02 22:55:57 +00:00
Jose Ivan Vargas
e5d5250753 Corrected the error of my ways in bash 2017-11-02 15:46:03 -06:00
Jose Ivan Vargas
87910a326b Add chrome-node-yarn image 2017-11-02 15:41:06 -06:00
Mike Greiling
5d6075b475 lock yarn dependency 2017-09-15 19:09:33 -05:00
Andrew Newdigate
81d80aa564 Keep the build images DRY 2017-08-08 17:58:52 +00:00
Mike Greiling
1dde272ab2 fix yarn installation 2017-02-13 14:10:16 -06:00
DJ Mountney
5ad635ca9e Adding Yarn for use instead of npm
See the following issue for details: https://gitlab.com/gitlab-org/gitlab-ce/issues/27613

But essentially we need to be able to lock down sub-dependancies
2017-02-07 14:33:32 -08:00
Luke Bennett
45998ee199
Added Dockerfile.ruby-2.3-git-2.7-phantomjs-2.1-node-7.1
Added `install-node` to install node:7.1
2016-11-19 04:30:44 +00:00