Skip to content

Commit

Permalink
Add missing packages in base image 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
carlesfernandez committed Apr 14, 2024
1 parent aeae7d3 commit b72d501
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
23 changes: 20 additions & 3 deletions base-image/Dockerfile3
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@
# Yocto Geniux base image to help building Geniux.

FROM ubuntu:22.04
LABEL version="3.0" description="Yocto Geniux base image" maintainer="carles.fernandez@cttc.es"
LABEL version="3.1" description="Yocto Geniux base image" maintainer="carles.fernandez@cttc.es"


RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install \
apt \
apt-transport-https \
autoconf \
automake \
base-files \
bash \
bc \
bsdutils \
build-essential \
bison \
ca-certificates \
Expand All @@ -20,6 +24,8 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install \
curl \
debianutils \
diffstat \
distro-info-data \
fdisk \
file \
flex \
gawk \
Expand All @@ -31,18 +37,28 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install \
iproute2 \
iputils-ping \
libacl1 \
libbz2-dev \
libegl1-mesa \
libffi-dev \
libgdbm-dev \
liblzma5 \
liblz4-tool \
libncurses5-dev \
libreadline-dev \
libselinux1 \
libssl-dev \
libsdl1.2-dev \
libtinfo5 \
libtool \
locales \
login \
mesa-common-dev \
mount \
nano \
net-tools \
passwd \
pax \
pwgen \
pylint \
python3 \
python3-git \
Expand All @@ -56,15 +72,16 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install \
tftpd \
tar \
texinfo \
ubuntu-keyring \
unzip \
util-linux \
wget \
whois \
xterm \
xxd \
xz-utils \
zlib1g-dev \
zstd \
nano \
&& apt-get clean && rm -rf /var/lib/apt/lists/*

# Install docker and upgrade packages
Expand All @@ -81,7 +98,7 @@ RUN apt-get update && install -m 0755 -d /etc/apt/keyrings && \
apt-get clean && rm -rf /var/lib/apt/lists/*

# Build and install Python 3.11, required by repo
RUN wget https://www.python.org/ftp/python/3.11.4/Python-3.11.4.tgz \
RUN wget https://www.python.org/ftp/python/3.11.9/Python-3.11.9.tgz \
&& tar -xf Python-3.11.*.tgz && cd Python-3.11.*/ \
&& ./configure --enable-optimizations && make && make altinstall \
&& cd .. && rm Python-3.11.*.tgz && rm -rf Python-3.11.*/
Expand Down
2 changes: 1 addition & 1 deletion geniux-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if [[ $GENIUX_VERSION == "rocko" || $GENIUX_VERSION == "sumo" || $GENIUX_VERSION
then
YOCTO_GENIUX_BASE_IMAGE_VERSION="2.1"
else
YOCTO_GENIUX_BASE_IMAGE_VERSION="3.0"
YOCTO_GENIUX_BASE_IMAGE_VERSION="3.1"
fi

YOCTO_GENIUX_BASE_IMAGE="yocto-geniux-base:v$YOCTO_GENIUX_BASE_IMAGE_VERSION"
Expand Down

0 comments on commit b72d501

Please sign in to comment.