Dockerfile 882 Bytes
Newer Older
1 2 3 4 5
FROM debian:buster

ENV DEBIAN_FRONTEND=noninteractive
COPY ./keyboard /etc/default/keyboard
COPY ./console-setup /etc/default/console-setup
6
COPY ./0001-Don-t-enforce-U-EFI-on-arm64.patch /tmp
7 8 9 10 11 12 13 14

# Update Software repository
RUN apt-get update

RUN apt-get install -y console-setup
RUN setupcon -v 

# Install 
15
RUN apt-get install -y keyboard-configuration vmdebootstrap git sudo kpartx shellcheck
16
RUN apt-get install -y u-boot-tools make gcc gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu vim
17
RUN apt-get install -y gcc-arm-none-eabi libstdc++-arm-none-eabi-newlib libnewlib-arm-none-eabi
18 19 20 21

# Volume configuration
VOLUME ["/src"]

22 23 24
# fix vmebootstrap for arm64 on embedded
RUN cd /usr/lib/python2.7/dist-packages/vmdebootstrap && patch -p2 < /tmp/0001-Don-t-enforce-U-EFI-on-arm64.patch

25 26 27 28 29
RUN useradd -ms /bin/bash purism -p purism -G sudo 
#USER purism
CMD ["bash"]
  
EXPOSE 80 443 22