mirror of
https://github.com/LIV2/ise-docker.git
synced 2025-12-06 06:52:44 +00:00
removed Xilinx.lic file from docker image, mount it instead.
This commit is contained in:
parent
9bf9bbb64f
commit
52cbda3d2d
@ -19,9 +19,7 @@ RUN cd /root/install && \
|
||||
wget "http://127.0.0.1:8765/Xilinx_ISE_DS_14.7_1015_1-2.zip.xz" && \
|
||||
wget "http://127.0.0.1:8765/Xilinx_ISE_DS_14.7_1015_1-3.zip.xz" && \
|
||||
wget "http://127.0.0.1:8765/Xilinx_ISE_DS_14.7_1015_1-4.zip.xz" && \
|
||||
wget "http://127.0.0.1:8765/Xilinx.lic" && \
|
||||
tar xvf Xilinx_ISE_DS_14.7_1015_1-1.tar && \
|
||||
TERM=xterm /root/setup && \
|
||||
cd && \
|
||||
mv /root/install/Xilinx.lic /root/.Xilinx/ && \
|
||||
rm -rf /root/setup /root/install
|
||||
|
||||
17
README.md
17
README.md
@ -26,13 +26,6 @@ To build the docker image, do the following:
|
||||
cp ~/Downloads/Xilinx_ISE_DS_14.7_1015_* xilinx-installer/
|
||||
```
|
||||
|
||||
1. Create a free license via the [Licensing Solution Center](https://www.xilinx.com/getlicense)
|
||||
|
||||
1. Add license:
|
||||
```
|
||||
cp ~/Downloads/Xilinx.lic xilinx-installer/
|
||||
```
|
||||
|
||||
1. Run docker build:
|
||||
```
|
||||
./build
|
||||
@ -60,3 +53,13 @@ To build the docker image, do the following:
|
||||
[-autoassign] [ise|pa]
|
||||
user@machine ~/xilinx-ise #
|
||||
```
|
||||
|
||||
1. Create a free license via the [Licensing Solution Center](https://www.xilinx.com/getlicense)
|
||||
|
||||
1. Add license to your home dir:
|
||||
```
|
||||
mkdir -p $HOME/.Xilinx
|
||||
cp ~/Downloads/Xilinx.lic $HOME/.Xilinx/
|
||||
```
|
||||
The license is mounted into the docker container from `$HOME/.Xilinx/Xilinx.lic` by default. If you like to use another location set up the `XILINX_LIC` environment variable to point to the `Xilinx.lic` file.
|
||||
|
||||
|
||||
2
build
2
build
@ -4,7 +4,7 @@ set -e
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
DOCKER_TARGET=docker.i74.de:5000
|
||||
DOCKER_TARGET=${DOCKER_TARGET:-docker.i74.de:5000}
|
||||
IMAGE_NAME=xilinx-ise
|
||||
IMAGE_TAG=14.7
|
||||
|
||||
|
||||
4
xilinx
4
xilinx
@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker run --rm -it -v $(pwd):/build docker.i74.de:5000/xilinx-ise:latest /usr/local/bin/wrapper "$@"
|
||||
XILINX_LIC=${XILINX_LIC:-$HOME/.Xilinx/Xilinx.lic}
|
||||
|
||||
docker run --rm -it -v $XILINX_LIC:/root/.Xilinx/Xilinx.lic -v $(pwd):/build docker.i74.de:5000/xilinx-ise:latest /usr/local/bin/wrapper "$@"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user