Skip to content

Commit

Permalink
use xvfb-run
Browse files Browse the repository at this point in the history
come on @jackfirth why must you torture me in this way
  • Loading branch information
9999years committed Apr 8, 2021
1 parent 9965f23 commit 4b9256a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Dockerfile
@@ -1,9 +1,12 @@
FROM racket/racket:8.0-full
RUN raco pkg install --batch --auto --scope installation \
"https://github.com/jackfirth/rebellion.git"
RUN raco pkg install --batch --auto --scope installation \
"https://github.com/jackfirth/resyntax.git"
RUN raco pkg install --batch --auto --scope installation \
RUN apt install xvfb
# `resyntax` uses DrRacket for indenting, which requires a display, so we need to install it
# under `xvfb-run`.
# When/if this is closed, we can use racket-langserver instead (perhaps?):
# https://github.com/jeapostrophe/racket-langserver/issues/45
RUN xvfb-run raco pkg install --batch --auto --scope installation \
"https://github.com/jackfirth/rebellion.git" \
"https://github.com/jackfirth/resyntax.git" \
"https://github.com/9999years/racket-package-resyntax-action.git#main"
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

2 comments on commit 4b9256a

@jackfirth
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love u berry

@jackfirth
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bad news for you about the langserver jeapostrophe/racket-langserver#45

Please sign in to comment.