79384c35ab
* build(deps): bump megalinter/megalinter from 5 to 6.11.0 Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter) from 5 to 6.11.0. - [Release notes](https://github.com/megalinter/megalinter/releases) - [Changelog](https://github.com/oxsecurity/megalinter/blob/main/CHANGELOG.md) - [Commits](https://github.com/megalinter/megalinter/compare/v5...v6.11.0) --- updated-dependencies: - dependency-name: megalinter/megalinter dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: updates to support new megalinter Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Casey Lee <caseypl@amazon.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
20 lines
720 B
Docker
20 lines
720 B
Docker
FROM alpine:3.16
|
|
|
|
ARG CHOCOVERSION=1.1.0
|
|
|
|
RUN apk add --no-cache bash ca-certificates git \
|
|
&& apk --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing add mono mono-dev \
|
|
&& cert-sync /etc/ssl/certs/ca-certificates.crt \
|
|
&& wget "https://github.com/chocolatey/choco/archive/${CHOCOVERSION}.tar.gz" -O- | tar -xzf - \
|
|
&& cd choco-"${CHOCOVERSION}" \
|
|
&& chmod +x build.sh zip.sh \
|
|
&& ./build.sh -v \
|
|
&& mv ./code_drop/chocolatey/console /opt/chocolatey \
|
|
&& mkdir -p /opt/chocolatey/lib \
|
|
&& rm -rf /choco-"${CHOCOVERSION}" \
|
|
&& apk del mono-dev \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
ENV ChocolateyInstall=/opt/chocolatey
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"]
|