FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
rescript/.devcontainer/Dockerfile at master · rescript-lang/rescript · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
rescript-lang
/
rescript
Public
Notifications
You must be signed in to change notification settings
Fork
485
Star
7.4k
Code
Issues
120
Pull requests
49
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
rescript
/
.devcontainer
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (16 loc) · 729 Bytes
Breadcrumbs
rescript
/
.devcontainer
/
Dockerfile
Copy path
File metadata and controls
20 lines (16 loc) · 729 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM
mcr.microsoft.com/devcontainers/rust:2-1-trixie
LABEL
org.opencontainers.image.authors=
"Christoph Knittel <ck@cca.io>"
LABEL
org.opencontainers.image.description=
"Docker image for ReScript development."
RUN
sudo apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
binaryen \
cmake \
musl-tools \
ninja-build \
&& rm -rf /var/lib/apt/lists/*
#
Install OPAM
ARG
OPAM_VERSION=2.5.0
RUN
printf
'
\n\n
'
| bash -c
"sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh) --version $OPAM_VERSION"
USER
vscode
ENV
HOME=/home/vscode
RUN
opam init -y --shell-setup --enable-shell-hook --compiler=5.5.0 --disable-sandboxing
Back
|
FazBrowse Home
|
New Git URL