mirror of
https://github.com/LIV2/ise-docker.git
synced 2025-12-06 06:52:44 +00:00
45 lines
1.1 KiB
Docker
45 lines
1.1 KiB
Docker
FROM ubuntu:14.04
|
|
|
|
# basic packages
|
|
RUN apt-get update && \
|
|
apt-get -y install git expect locales \
|
|
libglib2.0-0 libsm6 libxi6 libxrender1 libxrandr2 \
|
|
libfreetype6 libfontconfig1
|
|
|
|
# some essential tools..
|
|
RUN apt-get update && \
|
|
apt-get -y install nano usbutils
|
|
|
|
# Set LOCALE to UTF8
|
|
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
|
|
locale-gen en_US.UTF-8 && \
|
|
/usr/sbin/update-locale LANG=en_US.UTF-8
|
|
|
|
|
|
RUN mkdir -p /tmp/install
|
|
# adding xilinx installer
|
|
COPY xilinx-installer/Xilinx_ISE_DS_14.7_1015_1-1.tar /tmp
|
|
COPY xilinx-installer/Xilinx_ISE_DS_14.7_1015_1-3.zip.xz /tmp
|
|
COPY xilinx-installer/Xilinx_ISE_DS_14.7_1015_1-2.zip.xz /tmp
|
|
COPY xilinx-installer/Xilinx_ISE_DS_14.7_1015_1-4.zip.xz /tmp
|
|
|
|
# adding scripts
|
|
ADD files /
|
|
|
|
RUN cd /tmp/install && \
|
|
tar xvf ../Xilinx_ISE_DS_14.7_1015_1-1.tar
|
|
|
|
RUN cd /tmp/install && TERM=xterm /tmp/setup && \
|
|
cd
|
|
|
|
RUN adduser --disabled-password --gecos '' ise
|
|
USER ise
|
|
WORKDIR /home/ise
|
|
|
|
#defeat tips at startup
|
|
RUN mkdir .config/Xilinx -p
|
|
COPY ISE.conf .config/Xilinx
|
|
|
|
#source ise settings
|
|
RUN echo "source /opt/Xilinx/14.7/ISE_DS/settings64.sh" >> /home/ise/.bashrc
|