Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
ghcup-hs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haskell
ghcup-hs
Merge requests
!173
Draft: Add docker support
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Draft: Add docker support
docker
into
master
Overview
0
Commits
1
Pipelines
5
Changes
2
Open
Julian Ospald
requested to merge
docker
into
master
3 years ago
Overview
0
Commits
1
Pipelines
5
Changes
2
Expand
0
0
Merge request reports
Compare
master
version 4
c77f2e88
3 years ago
version 3
fa3e6579
3 years ago
version 2
a319eb43
3 years ago
version 1
035274bc
3 years ago
master (HEAD)
and
latest version
latest version
3a58458c
1 commit,
3 years ago
version 4
c77f2e88
1 commit,
3 years ago
version 3
fa3e6579
1 commit,
3 years ago
version 2
a319eb43
1 commit,
3 years ago
version 1
035274bc
1 commit,
3 years ago
2 files
+
62
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
docker/alpine/8.10.7/Dockerfile
0 → 100644
+
32
−
0
Options
FROM
alpine:3.14.2
# install deps needed by GHC
RUN
apk add
--no-cache
\
curl
\
gcc
\
g++
\
binutils
\
binutils-gold
\
gmp
\
ncurses
\
libffi
\
make
\
xz
\
tar
\
perl
ARG
GHCUP_VERSION
# install ghcup
RUN if
[
-n
"
$GHCUP_VERSION
"
]
;
\
then
curl
-sSfL
https://downloads.haskell.org/~ghcup/
$GHCUP_VERSION
/x86_64-linux-ghcup-
$GHCUP_VERSION
>
/usr/bin/ghcup
;
\
else
curl
-sSfL
https://downloads.haskell.org/~ghcup/x86_64-linux-ghcup
>
/usr/bin/ghcup
;
\
fi
&&
\
chmod
+x /usr/bin/ghcup
ENV
GHCUP_INSTALL_BASE_PREFIX=/usr/local
ENV
PATH=/usr/local/.ghcup/bin:$PATH
RUN
ghcup
install
ghc
--set
8.10.7
&&
\
ghcup
install
cabal latest
&&
\
ghcup
install
stack latest
Loading