|
|
@ -3,15 +3,12 @@ FROM ubuntu:22.04
|
|
|
|
RUN useradd -r -s /sbin/nologin -c "Microchip tools" -m libby
|
|
|
|
RUN useradd -r -s /sbin/nologin -c "Microchip tools" -m libby
|
|
|
|
USER root
|
|
|
|
USER root
|
|
|
|
|
|
|
|
|
|
|
|
ENV LIBERO_VERSION="v2024.1"
|
|
|
|
ENV LIBERO_VERSION="v2024.2"
|
|
|
|
ENV SOFTCONSOLE_VERSION="v2022.2-RISC-V-747"
|
|
|
|
ENV SOFTCONSOLE_VERSION="v2022.2-RISC-V-747"
|
|
|
|
ENV BASE_DIR="/opt/microchip"
|
|
|
|
ENV BASE_DIR="/opt/microchip"
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
ENV XDG_RUNTIME_DIR="/tmp/.xdg/${UID}"
|
|
|
|
ENV XDG_RUNTIME_DIR="/tmp/.xdg/${UID}"
|
|
|
|
|
|
|
|
|
|
|
|
ENV LIBERO_VERSION="v2024.1"
|
|
|
|
|
|
|
|
ENV SOFTCONSOLE_VERSION="v2022.2-RISC-V-747"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# install dirs
|
|
|
|
# install dirs
|
|
|
|
ENV BASE_DIR="/opt/microchip"
|
|
|
|
ENV BASE_DIR="/opt/microchip"
|
|
|
|
ENV INSTALLERS_DIR="${BASE_DIR}/installers"
|
|
|
|
ENV INSTALLERS_DIR="${BASE_DIR}/installers"
|
|
|
@ -37,6 +34,7 @@ RUN dpkg --add-architecture i386 && \
|
|
|
|
apt-get upgrade -y && \
|
|
|
|
apt-get upgrade -y && \
|
|
|
|
apt-get install -y libxext6 libx11-6 libxrender1 libxtst6 libxi6 lsb default-jre build-essential
|
|
|
|
apt-get install -y libxext6 libx11-6 libxrender1 libxtst6 libxi6 lsb default-jre build-essential
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ADD installers/* ${BASE_DIR}/installers/
|
|
|
|
ADD scripts/* ${BASE_DIR}/scripts/
|
|
|
|
ADD scripts/* ${BASE_DIR}/scripts/
|
|
|
|
# run installer in silent mode using config file
|
|
|
|
# run installer in silent mode using config file
|
|
|
|
RUN echo "Installing Libero... This could take a bit"
|
|
|
|
RUN echo "Installing Libero... This could take a bit"
|
|
|
|