Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Julian Ospald
ci-images
Commits
fb77ecaa
Verified
Commit
fb77ecaa
authored
Oct 27, 2021
by
Julian Ospald
🍵
Browse files
Update debian to bullseye
parent
f45eaa3f
Pipeline
#43056
failed with stages
in 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
images/debian.dhall
View file @
fb77ecaa
...
...
@@ -69,9 +69,12 @@ let
, "lmodern"
]
let debianBuildDepends: List Text =
let debian
Stretch
BuildDepends: List Text =
[ "texlive-generic-extra" ]
let debianBullseyeBuildDepends: List Text =
[ "texlive-plain-generic" ]
let ubuntuBuildDepends: List Text =
[ "texlive-plain-generic" ]
...
...
@@ -187,8 +190,8 @@ let
let images: List Image.Type =
[ DebianImage.toDocker DebianImage::
{ name = "aarch64-linux-deb1
0
"
, fromImage = "arm64v8/debian:bu
ster
"
{ name = "aarch64-linux-deb1
1
"
, fromImage = "arm64v8/debian:bu
llseye
"
, runnerTags = [ "aarch64-linux" ]
, bootstrapLlvm = Some (Llvm.Source.FromBindist { version = "9.0.1" , triple = "aarch64-linux-gnu" })
, bootstrapGhc = { version = "8.10.7", triple = "aarch64-deb10-linux" }
...
...
@@ -199,14 +202,14 @@ let images: List Image.Type =
}
, DebianImage.toDocker DebianImage::
{ name = "armv7-linux-deb1
0
"
, fromImage = "arm32v7/debian:bu
ster
"
{ name = "armv7-linux-deb1
1
"
, fromImage = "arm32v7/debian:bu
llseye
"
, runnerTags = [ "armv7-linux" ]
, bootstrapLlvm = Some (Llvm.Source.FromBindist { version = "9.0.1", triple = "armv7a-linux-gnueabihf" })
, bootstrapGhc = { version = "8.10.7", triple = "armv7-deb10-linux" }
, llvm = Some (Llvm.Source.FromBindist { version = "11.0.1" , triple = "armv7a-linux-gnueabihf" })
, cabalSource = (Cabal.Type.FromBindist "https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.6.2.0/cabal-install-3.6.2.0-armv7-linux-deb10.tar.xz")
, extraPackages = [ "libnuma-dev" ] # debianBuildDepends
, extraPackages = [ "libnuma-dev" ] # debianBu
llseyeBu
ildDepends
, withStack = False
}
...
...
@@ -218,14 +221,14 @@ let images: List Image.Type =
, bootstrapGhc = { version = "8.10.7", triple = "i386-deb9-linux" }
, llvm = None Llvm.Source
, cabalSource = (Cabal.Type.FromBindist "https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.6.2.0/cabal-install-3.6.2.0-i386-linux-alpine.tar.xz")
, extraPackages = debianBuildDepends # [ "cabal-install" ] : List Text
, extraPackages = debian
Stretch
BuildDepends # [ "cabal-install" ] : List Text
, withStack = False
}
-- N.B. Need bindist for deb10 i386
--, DebianImage.toDocker DebianImage::
-- { name = "i386-linux-deb10"
-- , fromImage = "i386/debian:bu
ster
"
-- , fromImage = "i386/debian:bu
llseye
"
-- , runnerTags = [ "x86_64-linux" ]
-- , bootstrapLlvm = None Llvm.Source
-- , bootstrapGhc = { version = "8.10.4", triple = "i386-deb10-linux" }
...
...
@@ -239,15 +242,15 @@ let images: List Image.Type =
-- }
, DebianImage.toDocker DebianImage::
{ name = "x86_64-linux-deb1
0
"
, fromImage = "amd64/debian:bu
ster
"
{ name = "x86_64-linux-deb1
1
"
, fromImage = "amd64/debian:bu
llseye
"
, runnerTags = [ "x86_64-linux" ]
, bootstrapLlvm = Some (Llvm.Source.FromBindist { version = "9.0.1", triple = "x86_64-linux-gnu-ubuntu-16.04" })
, bootstrapGhc = { version = "8.10.7", triple = "x86_64-deb10-linux" }
, llvm = Some (Llvm.Source.FromBindist { version = "11.0.1" , triple = "x86_64-linux-gnu-ubuntu-16.04" })
, cabalSource = Cabal.fromUpstreamBindist { version = "3.6.2.0", triple = "x86_64-linux-alpine-static" }
, extraPackages =
debianBuildDepends
debianBu
llseyeBu
ildDepends
-- For cross-compilation testing
# ["crossbuild-essential-arm64"]
# [ "libnuma-dev" ]
...
...
@@ -261,7 +264,7 @@ let images: List Image.Type =
, bootstrapGhc = { version = "8.10.7", triple = "x86_64-deb9-linux" }
, llvm = Some (Llvm.Source.FromBindist { version = "10.0.1" , triple = "x86_64-linux-gnu-ubuntu-16.04" })
, cabalSource = Cabal.fromUpstreamBindist { version = "3.2.0.0", triple = "x86_64-unknown-linux" }
, extraPackages = debianBuildDepends : List Text
, extraPackages = debian
Stretch
BuildDepends : List Text
}
, DebianImage.toDocker DebianImage::
...
...
@@ -279,7 +282,7 @@ let images: List Image.Type =
{ name = "linters"
, runnerTags = [ "x86_64-linux" ]
, jobStage = "build-derived"
, needs = [ "x86_64-linux-deb1
0
" ]
, needs = [ "x86_64-linux-deb1
1
" ]
, image =
let installMypy: CF.Type =
installPackages [ "python3-pip" ]
...
...
@@ -301,7 +304,7 @@ let images: List Image.Type =
let installShellcheck: CF.Type =
installPackages [ "shellcheck" ]
in
CF.from "${docker_base_url}/x86_64-linux-deb1
0
:latest"
CF.from "${docker_base_url}/x86_64-linux-deb1
1
:latest"
# [ CF.Statement.User "root" ]
# installMypy
# installShellcheck
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment