File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changes
2
2
3
+ ## 2.1.4
4
+
5
+ - Add ` dockcross_assemble_command ` environment variable to inject a shell command into the Docker container during its build assembly.
6
+ - bugfix: Update apt and yum while building dockcross container
7
+ - Batch all opam pin operations. Fixes < https://gitlab.com/dkml/distributions/dkml/-/issues/29 >
8
+
9
+ ## 2.1.3
10
+
11
+ - Upgrade ` actions/cache ` and ` actions/checkout ` from v3 to v4
12
+
3
13
## 2.1.2
4
14
5
15
- Use a fixed commit of [ ocaml/opam-repository.git] ( https://github.com/ocaml/opam-repository.git ) by default.
Original file line number Diff line number Diff line change @@ -62,10 +62,11 @@ if [ "${in_docker:-}" = "true" ] && [ -n "${dockcross_image:-}" ]; then
62
62
install -d .ci/sd4/docker-image
63
63
# Since GitLab CI limits environment variables to 255 characters, if you need to exceed that there are five (5)
64
64
# variations of `dockcross_packages_apt` and `dockcross_packages_yum` to spread the packages over.
65
- printf " FROM %s\nENV DEFAULT_DOCKCROSS_IMAGE %sdkml-workflows/dockcross:latest\nRUN if command -v apt-get; then apt-get update -y && apt-get install -y rsync %s %s %s %s %s && rm -rf /var/lib/apt/lists/*; fi\nRUN if command -v yum; then yum update -y && yum install -y rsync %s %s %s %s %s && yum clean all && rm -rf /var/cache/yum; fi" \
65
+ printf " FROM %s\nENV DEFAULT_DOCKCROSS_IMAGE %sdkml-workflows/dockcross:latest\nRUN if command -v apt-get; then apt-get update -y && apt-get install -y rsync %s %s %s %s %s && rm -rf /var/lib/apt/lists/*; fi\nRUN if command -v yum; then yum update -y && yum install -y rsync %s %s %s %s %s && yum clean all && rm -rf /var/cache/yum; fi; %s " \
66
66
" ${dockcross_image:- } " " ${docker_fqin_preusername} " \
67
67
" ${dockcross_packages_apt:- } " " ${dockcross_packages_apt2:- } " " ${dockcross_packages_apt3:- } " " ${dockcross_packages_apt4:- } " " ${dockcross_packages_apt5:- } " \
68
68
" ${dockcross_packages_yum:- } " " ${dockcross_packages_yum2:- } " " ${dockcross_packages_yum3:- } " " ${dockcross_packages_yum4:- } " " ${dockcross_packages_yum5:- } " \
69
+ " ${dockcross_assemble_command:- true} " \
69
70
> .ci/sd4/docker-image/Dockerfile
70
71
docker build --quiet --tag " ${docker_fqin_preusername} dkml-workflows/dockcross:latest" .ci/sd4/docker-image
71
72
You can’t perform that action at this time.
0 commit comments