mirror of
https://github.com/LIV2/container-gowin.git
synced 2025-12-06 00:23:51 +00:00
42 lines
771 B
Docker
42 lines
771 B
Docker
FROM ubuntu:focal
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get -y update && \
|
|
apt-get -y install \
|
|
vim \
|
|
make \
|
|
git \
|
|
curl \
|
|
python3 \
|
|
python3-pip \
|
|
libgl1 \
|
|
libnss3 \
|
|
libxcomposite1 \
|
|
libxdamage1 \
|
|
libxrandr2 \
|
|
libxtst6 \
|
|
libxkbcommon0 \
|
|
libdbus-1-3 \
|
|
libglib2.0-0 \
|
|
libasound2 \
|
|
libfontconfig1 \
|
|
libfreetype6 \
|
|
x11-apps \
|
|
qt5-default \
|
|
kmod
|
|
|
|
ADD Gowin_V1.9.11.01_linux.tar.gz /opt/gowin
|
|
|
|
COPY gwlicense.ini /opt/gowin/IDE/bin/gwlicense.ini
|
|
|
|
RUN useradd -s /bin/bash -m ubuntu
|
|
|
|
ENV PATH=/opt/gowin/IDE/bin:/opt/gowin/Programmer/bin:$PATH
|
|
|
|
ENV QT_QPA_PLATFORM=xcb
|
|
ENV LD_LIBRARY_PATH=/opt/gowin/IDE/lib
|
|
|
|
USER ubuntu
|
|
WORKDIR /home/ubuntu
|