Available at Docker Hub: https://hub.docker.com/r/cunpey/gitlab-ci
It uses bash
, SSH
and LFTP
to connect a remote server and mirror (upload) the Git repository using the Git CI/CD repo vendor.
The tzdata
package is to set the TimeZone when using date
like so: CURRENT_DATE=$(TZ="America/Argentina/Buenos_Aires" date +%F_%H-%M-%S);
"Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox."
"Node.js is a JavaScript-based platform for server-side and networking applications."
"The GNU Bourne-Again Shell"
"OpenSSH is the premier connectivity tool for remote login with the SSH protocol."
"LFTP is a sophisticated file transfer program supporting a number of network protocols (ftp, http, sftp, fish, torrent)."
"The Time Zone Database (often called tz or zoneinfo) contains code and data that represent the history of local time for many representative locations around the globe"
- It'll automatically update Linux and install the non-cached packages.
- Packages installation will run quietly (
apk add --no-cache <package> -q
). - It'll automatically use
bash
instead of Alpine's default shell (sh
).