Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Docker images to Debian bullseye. #275

Merged
merged 2 commits into from
Feb 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# syntax=docker/dockerfile:1

FROM haskell:9.8.2-buster AS build
FROM haskell:9.8.4-bullseye AS build
RUN git clone https://github.com/haskell-actions/hlint-scan.git /src/hlint-scan
WORKDIR /src/hlint-scan
RUN stack install hlint hlint-scan:exe:hlint-scan && \
cp "$(stack path --local-bin)/hlint" "$(stack path --local-bin)/hlint-scan" /

FROM debian:buster-slim
FROM debian:bullseye-slim
RUN apt-get --yes update && \
apt-get --yes --no-install-recommends install ca-certificates=20200601~deb10u2 && \
apt-get --yes --no-install-recommends install ca-certificates=20210119 && \
apt-get --yes clean && \
rm -rf /var/lib/apt/lists/*
COPY --from=build /hlint /hlint-scan /
Expand Down
2 changes: 2 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ the [Haskell Package Versioning Policy].

## Unreleased

* Update to `bullseye` Debian Docker image and GHC 9.8.4.

## 1.3.0 - 2025-02-06

* Add ability to disable code scanning and output annotations.
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# https://docs.haskellstack.org/en/stable/yaml_configuration/

# Resolver to choose a 'specific' stackage snapshot or a compiler version.
resolver: nightly-2024-10-21
resolver: lts-23.7

# User packages to be built.
packages:
Expand Down
Loading