File tree 4 files changed +19
-9
lines changed
4 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1
2
- FROM racket/racket:8.1-full
2
+ FROM racket/racket:8.7-full
3
+
4
+ RUN apt-get update -y \
5
+ && apt-get install -y --no-install-recommends xz-utils make \
6
+ && apt-get clean
3
7
4
8
WORKDIR /app
5
- RUN curl -O https://nodejs.org/dist/v14.17.1 /node-v14.17.1 -linux-x64.tar.xz
6
- RUN tar xvf node-v14.17.1 -linux-x64.tar.xz -C .
7
- ENV PATH="/app/node-v14.17.1 -linux-x64/bin:${PATH}"
9
+ RUN curl -O https://nodejs.org/dist/v18.16.0 /node-v18.16.0 -linux-x64.tar.xz
10
+ RUN tar xvf node-v18.16.0 -linux-x64.tar.xz -C .
11
+ ENV PATH="/app/node-v18.16.0 -linux-x64/bin:${PATH}"
8
12
RUN npm install -g js-beautify
9
13
10
14
COPY . /app/racketscript-playground
11
- ENV PATH="/root/.local/share/racket/8.1 /bin/:${PATH}"
15
+ ENV PATH="/root/.local/share/racket/8.7 /bin/:${PATH}"
12
16
RUN raco pkg install --auto racketscript
13
17
14
18
WORKDIR /app/racketscript-playground
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Racketscript Playground
2
2
=======================
3
3
4
4
[ ![ MIT licensed] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( LICENSE )
5
- [ ![ Docker] ( https://img.shields.io/docker/cloud/automated/vishesh /racketscript-playground )] ( https://hub.docker.com/r/racketscript/racketscript-playground )
5
+ [ ![ Docker] ( https://img.shields.io/docker/cloud/automated/racketscript /racketscript-playground )] ( https://hub.docker.com/r/racketscript/racketscript-playground )
6
6
[ ![ Try Online] ( https://img.shields.io/badge/try_it-online!-ff9900.svg )] ( http://play.racketscript.org )
7
7
8
8
Playground for [ RacketScript] ( https://github.com/racketscript/racketscript ) .
@@ -61,3 +61,9 @@ make -j4 quickrun
61
61
RacketScript is licensed under [ MIT license] ( LICENSE ) . Third-party
62
62
libraries can be found over [ here] ( static/index.html )
63
63
and [ here] ( package.json ) .
64
+
65
+ ## Troubleshooting
66
+
67
+ - Running ` docker ` commands gives permission error
68
+
69
+ [ Add user name to ` docker ` user group] ( https://docs.docker.com/engine/install/linux-postinstall/ ) : ` sudo usermod -aG docker $USER `
Original file line number Diff line number Diff line change 2
2
3
3
;; RacketScript is an experimental Racket to JavaScript compiler,
4
4
;; which hopes to be practically useful someday. Source code is
5
- ;; available at https://github.com/vishesh /racketscript
5
+ ;; available at https://github.com/racketscript /racketscript
6
6
7
7
;; We support modules, but we don't yet compile Racket's stdlib.
8
8
(require racketscript/htdp/universe racketscript/htdp/image ;; replaces 2htdp/*
Original file line number Diff line number Diff line change 5
5
"main" : " ./js-build/dist/modules/app.rkt.js" ,
6
6
"repository" : {
7
7
"type" : " git" ,
8
- "url" : " https://github.com/vishesh /racketscript-playground"
8
+ "url" : " https://github.com/racketscript /racketscript-playground"
9
9
},
10
10
"keywords" : [
11
11
" racket" ,
12
12
" compiler"
13
13
],
14
14
"author" : " Vishesh Yadav" ,
15
15
"bugs" : {
16
- "url" : " https://github.com/vishesh /racketscript/issues"
16
+ "url" : " https://github.com/racketscript /racketscript/issues"
17
17
},
18
18
"dependencies" : {
19
19
"express" : " ^4.17.1" ,
You can’t perform that action at this time.
0 commit comments