comparison scripts/Docker/Dockerfile @ 7495:12674129a45c

Dockerfile label updates, change version string in RELEASE.txt LABELS now use ci standard opencontainers naming for: vendor, description and version annotations. In version, source value was removed and source moved to description. Added annotations for: title licenses documentation licenses includes Python-2.0 license in preparation for vendoring cgi and cgitb modules in 2.4.0. Updated RELEASE.txt to include version string in Dockerfile.
author John Rouillard <rouilj@ieee.org>
date Sat, 17 Jun 2023 15:42:47 -0400
parents b290c7b95986
children ec738682874d
comparison
equal deleted inserted replaced
7494:022b7112c171 7495:12674129a45c
193 else \ 193 else \
194 echo Nothing to pip update; \ 194 echo Nothing to pip update; \
195 fi 195 fi
196 196
197 ARG source 197 ARG source
198 LABEL "org.roundup-tracker.vendor"="Roundup Issue Tracker Team" \ 198 LABEL "org.opencontainers.image.vendor"="Roundup Issue Tracker Team" \
199 "org.roundup-tracker.description"="Roundup Issue Tracker multi-backend" \ 199 "org.opencontainers.image.title"="Roundup Issue Tracker" \
200 "version"="2.2.0 $source" \ 200 "org.opencontainers.image.description"="Roundup Issue Tracker with multi-backend support installed via $source" \
201 "org.opencontainers.image.authors"="roundup-devel@lists.sourceforge.net" 201 "org.opencontainers.image.version"="2.2.0" \
202 "org.opencontainers.image.authors"="roundup-devel@lists.sourceforge.net" \
203 "org.opencontainers.image.licenses"="MIT AND ZPL-2.0 AND Python-2.0"
204 "org.opencontainers.image.documentation"="https://www.roundup-tracker.org/docs/installation.html"
205
202 206
203 ARG pythonversion 207 ARG pythonversion
204 # pull over built assets 208 # pull over built assets
205 COPY --from=build /usr/local/lib/python${pythonversion}/site-packages /usr/local/lib/python${pythonversion}/site-packages/ 209 COPY --from=build /usr/local/lib/python${pythonversion}/site-packages /usr/local/lib/python${pythonversion}/site-packages/
206 COPY --from=build /usr/local/bin/roundup* /usr/local/bin/ 210 COPY --from=build /usr/local/bin/roundup* /usr/local/bin/

Roundup Issue Tracker: http://roundup-tracker.org/