From ec78c51e982c265d25f762721315c9639bcdb968 Mon Sep 17 00:00:00 2001 From: Jurijs Kolomijecs Date: Wed, 22 Jun 2022 20:27:11 +0300 Subject: [PATCH] Fix xdg-open by installing and defaulting browser to links --- docker/dev/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/dev/Dockerfile b/docker/dev/Dockerfile index 8ec78b36..1935a66e 100644 --- a/docker/dev/Dockerfile +++ b/docker/dev/Dockerfile @@ -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 @@ -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