Skip to content

Commit

Permalink
Fix xdg-open by installing and defaulting browser to links
Browse files Browse the repository at this point in the history
  • Loading branch information
jurikolo committed Jun 22, 2022
1 parent 3b674b4 commit ec78c51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM python:3-alpine

# install system dependencies.
RUN apk update && apk add --no-cache \
gcc libc-dev g++ graphviz git bash go imagemagick inkscape ttf-opensans curl fontconfig xdg-utils
gcc libc-dev g++ graphviz git bash go imagemagick inkscape ttf-opensans curl fontconfig xdg-utils links

# install go package.
RUN go install github.com/mingrammer/round@latest
Expand All @@ -17,6 +17,7 @@ RUN curl -O https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKjp-hinte

# add go bin to path.
ENV PATH "$PATH:/root/go/bin"
ENV BROWSER "links"

# project directory.
WORKDIR /usr/src/diagrams
Expand Down

0 comments on commit ec78c51

Please sign in to comment.