Update some packages

This commit is contained in:
orangepi-xunlong
2022-03-23 11:58:59 +08:00
parent 02a7e48f05
commit 09e16e6575
30 changed files with 502 additions and 66 deletions

View File

@@ -10,20 +10,12 @@ RUN apt-get update && apt-get -y install \
&& rm -rf /var/lib/apt/lists/*
RUN sh -c " \
if [ $(dpkg --print-architecture) = amd64 ]; then \
if [ x'' != x$http_proxy ]; then \
curl -fsSL -x $http_proxy https://www.aptly.info/pubkey.txt | apt-key add - >/dev/null 2>&1; \
else \
curl -fsSL https://www.aptly.info/pubkey.txt | apt-key add - >/dev/null 2>&1; \
fi; \
echo \"deb http://repo.aptly.info/ nightly main\" > /etc/apt/sources.list.d/aptly.list; \
dpkg --add-architecture i386 \
&& apt-get update \
apt-get update \
&& apt-get install -y --no-install-recommends \
lib32ncurses6 \
lib32stdc++6 \
lib32tinfo6 \
libc6-i386 \
zlib1g:i386; \
libc6-i386; \
fi"
RUN apt-get update \
&& apt-get -y upgrade \
@@ -66,7 +58,8 @@ RUN apt-get update \
libbison-dev \
libc6-amd64-cross \
libc6-dev-armhf-cross \
libfdt-dev libelf-dev \
libfdt-dev \
libelf-dev \
libfile-fcntllock-perl \
libfl-dev \
liblz4-tool \
@@ -127,4 +120,8 @@ RUN sed -i 's/\(^STATDOPTS=\).*/\1"--port 32765 --outgoing-port 32766"/' /etc/de
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' TERM=screen
WORKDIR /root/orangepi
LABEL org.opencontainers.image.source="https://github.com/orangepi-xunlong/orangepi-build/blob/main/external/config/templates/Dockerfile" \
org.opencontainers.image.authors="Igor Pecovnik" \
org.opencontainers.image.licenses="GPL-2.0"
ENTRYPOINT [ "/bin/bash", "/root/orangepi/build.sh" ]