summaryrefslogtreecommitdiff
path: root/dockerfiles (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add STOPSIGNAL to gitlab-runner docker images•••By default SIGTERM is used which ungracefully kills all running builds. Use SIGQUIT instead. Paul Young2019-06-252-0/+2
* Set DEBIAN_FRONTEND=noninteractive for ubuntu Dockerfile•••Some packages (e.g. tzdata which was direct cause of this change) normally provide a UI for configuration. This however doesn't work for automated usages like building a Docker image. This commit configures packaging system to behave as an noninteractive process. Tomasz Maczukin2019-06-141-0/+1
* Upgrade base image for gitlab/gitlab-runner:ubuntu to ubuntu:18.04Tomasz Maczukin2019-06-131-1/+1
* Remove unused bash scripts•••These bash commands are not longer user by GitLab Runner. reference #4013 Steve Azzopardi2019-05-282-25/+0
* Change helper image to server core•••naoserver only allows powershell 6 to be installed, which is something the Runner does not support yet. Adding support for powershell 6 is something we want to do in the future https://gitlab.com/gitlab-org/gitlab-runner/issues/3291. We can just add support just for the helper image but as described in https://gitlab.com/gitlab-org/gitlab-runner/issues/3896#note_157830131 this will turn out messy. Change the helper image to use server core instead to use powershell 5 Reference https://gitlab.com/gitlab-org/gitlab-runner/issues/3896 Steve Azzopardi2019-04-052-8/+2
* Merge branch 'add-lfs-ubuntu-docker' into 'master'•••add lfs support to ubuntu docker runner See merge request gitlab-org/gitlab-runner!1192Tomasz Maczukin2019-03-142-5/+21
|\
| * install git and curl for ubuntu docker image•••When compiling the docker image on my machine, these are missing from the image. It seems the Gitlab CI system does have a cached docker base image that contains these already. Heiko Voigt2019-03-141-1/+1
| * use no verbose (-nv) switch for wget calls instead of quiet•••The quiet switch (-q) does tell wget to not output anything, even in case of an error. The no verbose (-nv) switch is the same as quiet but outputs in case of an error. For easier debugging, e.g. when passing in wrong version info, lets output in case of an error. Heiko Voigt2019-03-142-6/+6
| * add lfs support to docker runner•••Since gitlab natively supports large file support (LFS) the docker runner should also natively support LFS. Heiko Voigt2019-03-072-0/+16
* | Disable smudging when cloning git-lfs repositories•••This resolves the problem when git, during checking out the repository, is filling all available memory if the LFS object is bigger. After the repository is cloned and checked out (or fetched and checked out), explicit `git lfs pull` is called to download and checkout the content of the LFS object. For more details please read: - https://gitlab.com/gitlab-org/gitlab-runner/issues/3366 - https://github.com/git-lfs/git-lfs/issues/3524 Tomasz Maczukin2019-03-072-2/+2
|/
* Allow TLS1.2 for windows 1803 docker image•••TLS1.2 is not enabled by default on windows 1803 and downloading from GitHub fails with the following error `Invoke-Webrequest : The request was aborted: Could not create SSL/TLS secure channel.` Combine the `Invoke-Webrequest` and the setting for TLS1.2 into one layer or otherwise it would not work, since they would be in different layers. 1809 does not need it, but for consistency sake we make sure it's enabled there as well. Steve Azzopardi2019-03-052-4/+8
* Add checksum checks for downloaded zip•••We are downloading files from the internet during build time. We should check the hash of each file we download to make sure the correct thing is downloaded. Steve Azzopardi2019-03-013-4/+30
* Add windows Dockerfiles for gitlab-runner-helper•••Add the initial Dockerfiles for windows server, using servercore as the bilder image, which gives us access to powershell, and nanoserver as the final image to keep the image as small as possible. These Dockerfiles expect to have `./binaries/gitlab-runner-helper.win_amd64.exe` built already, it will NOT build the binary itself to stay consistent with the Linux Dockerfiles and reduce duplication. We need to add a Dockerfile for each windows server version that we want to support, because when you run windows containers the host machine and the container version has to match. For example of your machine that has docker installed in running `ltsc2019` the containers it can run are only of the version `ltsc2019` Steve Azzopardi2019-03-012-0/+60
* Move gitlab/gitlab-runner:alpine-* image's base to alpine:3.9Tomasz Maczukin2019-02-131-1/+1
* Move arm helper image to alpine:3.9Tomasz Maczukin2019-02-121-1/+1
* Move x86_64 helper image to alpine:3.9Tomasz Maczukin2019-02-121-1/+1
* Revert "Merge branch '3755-helper-image-for-windows-container-execution-updat...•••This reverts merge request !1174Alessio Caiazza2019-02-082-2/+2
* Split `make docker` for GitLab Runner Helper•••GitLab Runner helper is built using `make docker` which builds the binary, creates a Docker container and extract the files system of that container for publishing at a later stage. Because of https://gitlab.com/gitlab-org/gitlab-runner/issues/3755 we have to split this command up so we generate the binaries and the docker archive separately since Windows containers cannot be built on Linux systems or vice versa. We are keeping the binary generation in one command to have both Windows and Linux binaries consistent, and built them on a Linux platform where `make` is installed. The make command already sets up the $GOPATH, dependencies and environment for building the binaries so there is no point of duplicating that. Then diverge when building the docker containers, since they have to be done on different platforms. Windows does have GNUMake http://gnuwin32.sourceforge.net/packages/make.htm but it's fairly outdated and doesn't seem to work when installing it on Windows server 2019. Drop support for `USE_PRECOMPILED_IMAGES` since it's just extra complexity that is not needed, and it doesn't seem to be used anywhere. If the user runs `make helper-docker` and the binaries are already present they are not rebuild. Steve Azzopardi2019-02-072-2/+2
* Use WORKDIR to switch directory instead of `cd` in CI DockerfilePeter Dave Hello2018-10-291-2/+2
* Clean up apt cache in CI DockerfilePeter Dave Hello2018-10-291-1/+2
* Merge apt update & install to one layer in CI DockerfilePeter Dave Hello2018-10-291-2/+2
* Remove additional `apt-get clean` in Dockerfile•••Ref: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run > Official Debian and Ubuntu images automatically run apt-get clean, so > explicit invocation is not required. Peter Dave Hello2018-10-291-2/+0
* Install go-junit-report in the base CI imageTomasz Maczukin2018-10-181-0/+2
* Add dependency check jobsTomasz Maczukin2018-10-101-2/+2
* Do not create apk cacheJ0WI2018-09-101-1/+1
* Update docker images to alpine:3.8Tomasz Maczukin2018-08-083-4/+6
* Add /etc/nsswitch.conf to helper on docker executor to read /etc/hosts when u...jsoizo2018-07-092-0/+4
* Remove go-bindataAlessio Caiazza2018-06-276-3/+4
* Install git-lfs from package repositoryDennis IJsebaart2018-06-021-14/+2
* Update to alpine 3.7Dennis IJsebaart2018-06-022-2/+2
* Install missing tzdata package for ubuntu-based Docker imageTomasz Maczukin2018-05-101-1/+1
* Update Go from 1.8.5 to 1.8.7Tomasz Maczukin2018-04-041-1/+1
* Revert Go back to 1.8.5Tomasz Maczukin2018-04-041-1/+1
* Merge branch 'git-lfs-verify' into 'master'•••Verify git-lfs checksum See merge request gitlab-org/gitlab-runner!796Alessio Caiazza2018-04-031-4/+9
|\
| * Verify git-lfs checksumMaxim Ivanov2018-02-231-4/+9
* | Update base ubuntu image version for gitlab/gitlab-runner:ubuntuTomasz Maczukin2018-03-211-1/+1
* | Set strict base alpine image version for gitlab/gitlab-runner:alpineTomasz Maczukin2018-03-211-1/+1
* | Upgrade helper image to alpine 3.6•••alpine 3.6 provides git 2.13.5 that will improve git TLS handling as explained in https://gitlab.com/gitlab-org/gitlab-runner/merge_requests/827#note_60168512 Alessio Caiazza2018-03-212-2/+2
* | Upgrade docker-machine to v0.14.0Alessio Caiazza2018-03-152-4/+4
|/
* Switch to Go 1.9.4Tomasz Maczukin2018-02-221-2/+2
* Fix dependencies for fpm gemTomasz Maczukin2018-02-191-1/+1
* Refactor docker images build jobTomasz Maczukin2018-01-153-6/+4
* Update docker-machine version for ubuntu image•••Move docker-machine and dumb-init version to ARGTobias L. Maier2018-01-151-2/+5
* Update docker-machine version for alpine image•••Move docker-machine and dumb-init version to ARGTobias L. Maier2018-01-151-3/+5
* Add zip to ci Docker imageTomasz Maczukin2017-11-281-1/+2
* update git-lfs to 2.3.1Vitaliy Zakharov2017-10-011-2/+2
* Rename 1st iteration: configuration, build scripting etc.Tomasz Maczukin2017-09-114-12/+12
* Adding tzdata by default to avoid OffPeakPeriods timezone errorShaun M2017-08-161-0/+2
* Update Docker Machine to 0.12.2 and add checksum checking for Docker Machine ...Tomasz Maczukin2017-08-013-19/+28
* Switch to Golang 1.8 for the buildsFabian Laule2017-06-261-1/+1