forked from containerbase/base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.jammy
176 lines (132 loc) · 4.98 KB
/
Dockerfile.jammy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
#--------------------------------------
# Image: base
#--------------------------------------
FROM ubuntu:jammy as base
ARG APT_HTTP_PROXY
ARG CONTAINERBASE_DEBUG
ARG TARGETARCH
COPY dist/docker/ /
COPY dist/cli/containerbase-cli-${TARGETARCH} /usr/local/containerbase/bin/containerbase-cli
RUN install-containerbase
# renovate: datasource=github-tags packageName=git/git
RUN install-tool git v2.44.0
#--------------------------------------
# Image: build
#--------------------------------------
FROM base as build
RUN uname -p | tee | grep x86_64
RUN touch /.dummy
RUN prepare-tool all
#--------------------------------------
# Image: test
#--------------------------------------
FROM build as test
# renovate: datasource=github-releases packageName=bazelbuild/bazelisk
RUN install-tool bazelisk v1.19.0
# renovate: datasource=npm
RUN install-tool bun 1.1.4
# renovate: datasource=docker
RUN install-tool dart 2.19.6
# renovate: datasource=github-releases packageName=moby/moby
RUN install-tool docker v26.1.0
# renovate: datasource=dotnet packageName=dotnet-sdk
RUN install-tool dotnet 8.0.204
# renovate: datasource=flutter-version
RUN install-tool flutter 3.19.6
# renovate: datasource=github-releases packageName=fluxcd/flux2
RUN install-tool flux v2.2.3
# renovate: datasource=github-releases packageName=git-lfs/git-lfs
RUN install-tool git-lfs v3.5.1
# renovate: datasource=github-releases packageName=gleam-lang/gleam
RUN install-tool gleam 1.1.0
# renovate: datasource=docker versioning=docker
RUN install-tool golang 1.22.2
# renovate: datasource=github-releases packageName=helm/helm
RUN install-tool helm v3.14.4
# renovate: datasource=github-releases packageName=helmfile/helmfile
RUN install-tool helmfile v0.163.1
# renovate: datasource=github-releases packageName=kubernetes-sigs/kustomize
RUN install-tool kustomize 5.4.1
# renovate: datasource=github-tags packageName=NixOS/nix
RUN install-tool nix 2.22.0
# renovate: datasource=github-releases packageName=PowerShell/PowerShell
RUN install-tool powershell v7.4.2
# renovate: datasource=docker versioning=docker
RUN install-tool rust 1.77.2
# renovate: datasource=docker versioning=docker
RUN install-tool swift 5.10.0
# renovate: datasource=docker packageName=hashicorp/terraform versioning=docker
RUN install-tool terraform 1.8.1
# renovate: datasource=github-releases packageName=jsonnet-bundler/jsonnet-bundler
RUN install-tool jb v0.5.1
# renovate: datasource=github-releases packageName=vmware-tanzu/carvel-vendir
RUN install-tool vendir v0.40.1
#--------------------------------------
# Image: test-erlang
#--------------------------------------
FROM build as test-erlang
# renovate: datasource=github-releases packageName=containerbase/erlang-prebuild versioning=docker
RUN install-tool erlang 26.2.4.0
# renovate: datasource=docker versioning=docker
RUN install-tool elixir 1.16.2
#--------------------------------------
# Image: test-java
#--------------------------------------
FROM build as test-java
# renovate: datasource=java-version packageName=java-jre
RUN install-tool java 21.0.3+9.0.LTS
# renovate: datasource=gradle-version packageName=gradle versioning=gradle
RUN install-tool gradle 8.7
#--------------------------------------
# Image: test-node
#--------------------------------------
FROM build as test-node
# renovate: datasource=node
RUN install-tool node v20.12.2
# renovate: datasource=npm
RUN install-tool pnpm 9.0.4
# renovate: datasource=npm
RUN install-tool yarn 1.22.22
#--------------------------------------
# Image: test-python
#--------------------------------------
FROM build as test-php
# renovate: datasource=github-releases packageName=containerbase/php-prebuild
RUN install-tool php 8.3.4
# renovate: datasource=github-releases packageName=composer/composer
RUN install-tool composer 2.7.4
#--------------------------------------
# Image: test-python
#--------------------------------------
FROM build as test-python
# renovate: datasource=github-releases packageName=containerbase/python-prebuild
RUN install-tool python 3.12.3
# renovate: datasource=pypi
RUN install-tool pipenv 2023.12.1
# renovate: datasource=pypi
RUN install-tool hashin 1.0.1
# renovate: datasource=pypi
RUN install-tool poetry 1.8.2
# renovate: datasource=pypi
RUN install-tool pdm 2.14.0
#--------------------------------------
# Image: test-ruby
#--------------------------------------
FROM build as test-ruby
# renovate: datasource=github-releases packageName=containerbase/ruby-prebuild versioning=ruby
RUN install-tool ruby 3.2.3
# renovate: datasource=rubygems versioning=ruby
RUN install-tool bundler 2.5.9
# renovate: datasource=rubygems versioning=ruby
RUN install-tool cocoapods 1.15.2
#--------------------------------------
# Image: final
#--------------------------------------
FROM base
COPY --from=test /.dummy /.dummy
COPY --from=test-erlang /.dummy /.dummy
COPY --from=test-java /.dummy /.dummy
COPY --from=test-node /.dummy /.dummy
COPY --from=test-php /.dummy /.dummy
COPY --from=test-python /.dummy /.dummy
COPY --from=test-ruby /.dummy /.dummy