Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021
  1. FROM alpine:3.12.1
  2. # Base build dependencies
  3. RUN apk add "gcc=9.3.0-r2" "g++=9.3.0-r2" make python3 py3-pip \
  4. git openssl-libs-static openssl-dev ccache lld curl python3-dev cmake
  5. # We use version-qualified names for compiler executables
  6. RUN ln -s $(type -P gcc) /usr/local/bin/gcc-9 && \
  7. ln -s $(type -P g++) /usr/local/bin/g++-9
  8. # We want the UID in the container to match the UID on the outside, for minimal
  9. # fuss with file permissions
  10. ARG DDS_USER_UID=1000
  11. RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py \
  12. | env POETRY_HOME=/opt/poetry python3 -u - --no-modify-path && \
  13. ln -s /opt/poetry/bin/poetry /usr/local/bin/poetry && \
  14. chmod a+x /opt/poetry/bin/poetry && \
  15. adduser --disabled-password --uid=${DDS_USER_UID} dds
  16. USER dds