docker build -t patalinux183 .
docker run -ti --rm --name petalinux183c -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix --mount type=bind,src=/home/masaaki/Docker/PetaLinux183/masaaki,dst=/home/masaaki patalinux183 /bin/bash
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y x11-apps
RUN apt-get install -y sudo
RUN apt-get install -y net-tools gedit nautilus
# Replace 1000 with your user / group id
ARG uid=1000
ARG gid=1000
RUN groupadd -g ${uid} masaaki && \
useradd -u ${gid} -g masaaki -G sudo -r masaaki && \
mkdir /home/masaaki && \
chown ${uid}:${gid} -R /home/masaaki
RUN echo 'Defaults visiblepw' >> /etc/sudoers
RUN echo 'masaaki ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER masaaki
WORKDIR /home/masaaki
masaaki@afe35354e423:~$ ./petalinux-v2018.3-final-installer.run /home/masaaki/pkg/petalinux183
INFO: Checking installation environment requirements...
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
WARNING: This is not a supported OS
INFO: Checking free disk space
INFO: Checking installed tools
INFO: Checking installed development libraries
INFO: Checking network and other services
WARNING: No tftp server found - please refer to "PetaLinux SDK Installation Guide" for its impact and solution
INFO: Checking installer checksum...
INFO: Extracting PetaLinux installer...
LICENSE AGREEMENTS
PetaLinux SDK contains software from a number of sources. Please review
the following licenses and indicate your acceptance of each to continue.
You do not have to accept the licenses, however if you do not then you may
not use PetaLinux SDK.
Use PgUp/PgDn to navigate the license viewer, and press 'q' to close
Press Enter to display the license agreements
Do you accept Xilinx End User License Agreement? [y/N] > y
Do you accept Webtalk Terms and Conditions? [y/N] > y
Do you accept Third Party End User License Agreement? [y/N] > y
INFO: Installing PetaLinux...
INFO: Checking PetaLinux installer integrity...
INFO: Installing PetaLinux SDK to "/home/masaaki/pkg/petalinux183/."
INFO: Installing aarch64 Yocto SDK to "/home/masaaki/pkg/petalinux183/./components/yocto/source/aarch64"...
INFO: Installing arm Yocto SDK to "/home/masaaki/pkg/petalinux183/./components/yocto/source/arm"...
INFO: Installing microblaze_full Yocto SDK to "/home/masaaki/pkg/petalinux183/./components/yocto/source/microblaze_full"...
INFO: Installing microblaze_lite Yocto SDK to "/home/masaaki/pkg/petalinux183/./components/yocto/source/microblaze_lite"...
INFO: PetaLinux SDK has been installed to /home/masaaki/pkg/petalinux183/.
日 | 月 | 火 | 水 | 木 | 金 | 土 |
---|---|---|---|---|---|---|
- | - | - | - | - | 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 | - | - | - | - | - | - |