File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 1
- FROM alpine:3.17.10 as build
1
+ FROM alpine:3.21.2 AS build
2
2
3
3
# hadolint ignore=DL3018
4
4
RUN apk --no-cache add \
5
5
curl \
6
- cabal=3.8.1.0-r2 \
7
- ghc=9.0.2-r1 \
6
+ cabal \
7
+ ghc \
8
8
build-base \
9
9
libffi-dev \
10
10
upx
@@ -13,15 +13,16 @@ COPY app /app/
13
13
RUN mkdir -p /app/shellcheck
14
14
WORKDIR /app/shellcheck
15
15
16
- RUN cabal update && \
17
- cabal install --jobs --enable-executable-stripping --enable-optimization=2 --enable-shared --enable-split-sections --disable-debug-info ShellCheck-0.8.0
16
+ RUN \
17
+ cabal update && \
18
+ cabal install --jobs --enable-executable-stripping --enable-optimization=2 --enable-shared --enable-split-sections --disable-debug-info ShellCheck-0.10.0
18
19
19
- RUN cp "$(readlink -f /root/.cabal /bin/shellcheck)" /root/.cabal /bin/shellcheck && \
20
- upx -9 /root/.cabal /bin/shellcheck
20
+ RUN cp "$(readlink -f /root/.local /bin/shellcheck)" /root/.local /bin/shellcheck && \
21
+ upx -9 /root/.local /bin/shellcheck
21
22
22
23
FROM pipelinecomponents/base-entrypoint:0.5.0 as entrypoint
23
24
24
- FROM alpine:3.17.10
25
+ FROM alpine:3.21.2
25
26
COPY --from=entrypoint /entrypoint.sh /entrypoint.sh
26
27
ENTRYPOINT ["/entrypoint.sh" ]
27
28
ENV DEFAULTCMD shellcheck
@@ -30,7 +31,7 @@ COPY app /app/
30
31
31
32
# hadolint ignore=DL3018
32
33
RUN apk --no-cache add libffi libgmpxx parallel bash
33
- COPY --from=build /root/.cabal /bin/shellcheck /usr/local/bin/shellcheck
34
+ COPY --from=build /root/.local /bin/shellcheck /usr/local/bin/shellcheck
34
35
35
36
WORKDIR /code/
36
37
# Build arguments
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ SOFTWARE.
108
108
[gitlabci]: https://gitlab.com/pipeline-components/shellcheck/-/commits/master
109
109
[issue]: https://gitlab.com/pipeline-components/shellcheck/issues
110
110
[keepchangelog]: http://keepachangelog.com/en/1.0.0/
111
- [maintenance-shield]: https://img.shields.io/maintenance/yes/2024 .svg
111
+ [maintenance-shield]: https://img.shields.io/maintenance/yes/2025 .svg
112
112
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
113
113
[pulls-shield]: https://img.shields.io/docker/pulls/pipelinecomponents/shellcheck.svg
114
114
[releases]: https://gitlab.com/pipeline-components/shellcheck/tags
You can’t perform that action at this time.
0 commit comments