add go bin to path

pull/1076/head
dpavlov 3 years ago
parent 73b24d485d
commit 2854378e39

@ -4,15 +4,15 @@ ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
RUN apk update && apk add --no-cache libffi-dev libressl-dev curl
# install go package.
RUN go install github.com/mingrammer/round@latest
RUN pip install --user poetry
WORKDIR /usr/src/diagrams
RUN python -m unittest tests/*.py -v
# add go bin to path.
ENV PATH "$PATH:/root/go/bin"
RUN ./autogen.sh
RUN /root/.local/bin/poetry build

Loading…
Cancel
Save