File: Dockerfile

package info (click to toggle)
apycula 0.31%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,576 kB
  • sloc: python: 16,977; asm: 1,815; makefile: 510; sh: 72; tcl: 56; vhdl: 26
file content (21 lines) | stat: -rw-r--r-- 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3

ARG GOWIN_VERSION
ENV GOWIN_VERSION=${GOWIN_VERSION}

WORKDIR /usr/src/gowin
ENV GOWINHOME=/usr/src/gowin

RUN curl -so gowin.tgz "https://cdn.gowinsemi.com.cn/Gowin_V${GOWIN_VERSION}_linux.tar.gz" && \
    tar -xf gowin.tgz && \
    rm gowin.tgz

RUN apt-get update && \
    apt-get install -y xxd && \
    echo "B016: EB" | xxd -r -g 0 - ${GOWINHOME}/IDE/bin/gw_sh

RUN pip install --no-cache-dir numpy fastcrc msgspec

WORKDIR /usr/src/apicula

CMD ["make"]