Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLASfpga
Petalinux Docker
Commits
3d57ea51
Commit
3d57ea51
authored
Jun 06, 2019
by
Nick Petrovsky
Browse files
Add dependency for U-Boot. Make debian tools noninteractive. Change dash->bash.
parent
fed2e401
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
3d57ea51
...
...
@@ -8,7 +8,7 @@ ARG UBUNTU_MIRROR=mirror.tuna.tsinghua.edu.cn
#install dependences:
RUN
sed
-i
.bak s/archive.ubuntu.com/
${
UBUNTU_MIRROR
}
/g /etc/apt/sources.list
&&
\
dpkg
--add-architecture
i386
&&
apt-get update
&&
apt-get
install
-y
\
dpkg
--add-architecture
i386
&&
apt-get update
&&
DEBIAN_FRONTEND
=
noninteractive
apt-get
install
-y
-q
\
build-essential
\
sudo
\
tofrodos
\
...
...
@@ -18,6 +18,7 @@ RUN sed -i.bak s/archive.ubuntu.com/${UBUNTU_MIRROR}/g /etc/apt/sources.list &&
expect
\
libncurses5-dev
\
tftpd
\
update-inetd
\
libssl-dev
\
flex
\
bison
\
...
...
@@ -47,7 +48,12 @@ RUN sed -i.bak s/archive.ubuntu.com/${UBUNTU_MIRROR}/g /etc/apt/sources.list &&
libtool-bin
\
locales
\
kmod
\
git
git
\
rsync
\
bc
\
u-boot-tools
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
ARG
PETA_VERSION
ARG
PETA_RUN_FILE
...
...
@@ -69,6 +75,10 @@ RUN chmod a+x /${PETA_RUN_FILE} && \
sudo
-u
vivado /accept-eula.sh /
${
PETA_RUN_FILE
}
/opt/Xilinx/petalinux
&&
\
rm
-f
/
${
PETA_RUN_FILE
}
/accept-eula.sh
# make /bin/sh symlink to bash instead of dash:
RUN
echo
"dash dash/sh boolean false"
| debconf-set-selections
RUN
DEBIAN_FRONTEND
=
noninteractive dpkg-reconfigure dash
USER
vivado
ENV
HOME /home/vivado
ENV
LANG en_US.UTF-8
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment