Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GHC musl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
GHC musl
Commits
e5d77dda
Verified
Commit
e5d77dda
authored
1 year ago
by
Olivier Benz
Browse files
Options
Downloads
Patches
Plain Diff
Update HLS to v2.3.0.0
parent
663f2f8c
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#24263
passed
1 year ago
Stage: build2
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
packages/hls/2.3.0.0.Dockerfile
+45
-0
45 additions, 0 deletions
packages/hls/2.3.0.0.Dockerfile
with
46 additions
and
1 deletion
.gitlab-ci.yml
+
1
−
1
View file @
e5d77dda
...
...
@@ -3,7 +3,7 @@
GHC_VERSION_BUILD
:
"
9.2.8"
CABAL_VERSION_BUILD
:
"
3.6.2.0"
STACK_VERSION
:
"
2.13.1"
HLS_VERSION
:
"
2.
2
.0.0"
HLS_VERSION
:
"
2.
3
.0.0"
BUILD_GHC
:
"
true"
BUILD_HLS
:
"
true"
...
...
This diff is collapsed.
Click to expand it.
packages/hls/2.3.0.0.Dockerfile
0 → 100644
+
45
−
0
View file @
e5d77dda
ARG
GHC_VERSION
ARG
HLS_VERSION=2.3.0.0
FROM
glcr.b-data.ch/ghc/ghc-musl:${GHC_VERSION}
as
builder
ARG
HLS_VERSION
RUN
apk add
--no-cache
patchelf findutils
\
&&
cd
/tmp
\
&&
curl
-sSL
"https://github.com/haskell/haskell-language-server/archive/refs/tags/
$HLS_VERSION
.tar.gz"
\
-o
"haskell-language-server-
$HLS_VERSION
.tar.gz"
\
&&
tar
-xzf
"haskell-language-server-
$HLS_VERSION
.tar.gz"
\
&&
cd
"haskell-language-server-
$HLS_VERSION
"
\
&&
.
.github/scripts/env.sh
\
&&
.
.github/scripts/common.sh
\
&&
sed
-i
.bak
-e
'/DELETE MARKER FOR CI/,/END DELETE/d'
cabal.project
\
&&
GHCS
=
"
$GHC_VERSION
"
\
&&
export
GHCS
\
&&
ARTIFACT
=
"
$(
uname
-m
)
-linux-alpine"
\
&&
export
ARTIFACT
\
&&
cabal update
\
&&
emake hls-ghc
\
&&
emake bindist
\
&&
strip
"out/bindist/
$ARTIFACT
/haskell-language-server-
$HLS_VERSION
/lib/
$GHC_VERSION
"
/
*
.so
\
&&
emake bindist-tar
FROM
alpine:3.18
as
hls
ARG
HLS_VERSION
COPY
--from=builder /tmp/haskell-language-server-"$HLS_VERSION"/out/haskell-language-server-*-linux-alpine.tar.xz /tmp/
RUN
apk add
--no-cache
build-base
\
&&
cd
/tmp
\
&&
tar
-xJf
haskell-language-server-
"
$HLS_VERSION
"
-
*
-linux-alpine
.tar.xz
\
&&
cd
haskell-language-server-
"
$HLS_VERSION
"
\
&&
make
install
FROM
scratch
ARG
HLS_VERSION
ENV
HLS_VERSION=${HLS_VERSION}
COPY
--from=hls /usr/local /usr/local
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment