mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-13 11:33:48 +07:00
Update some packages
This commit is contained in:
19
external/config/templates/Dockerfile
vendored
19
external/config/templates/Dockerfile
vendored
@@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user