File: Dockerfile

package info (click to toggle)
apycula 0.29%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 41,256 kB
  • sloc: python: 15,619; asm: 1,147; makefile: 448; sh: 72; tcl: 56; vhdl: 26
file content (21 lines) | stat: -rw-r--r-- 458 bytes parent folder | download | duplicates (2)
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 crc

WORKDIR /usr/src/apicula

CMD ["make"]