changes
This commit is contained in:
1 parent
75b039370d
commit
7b9eade83d
3 files changed
+49
-44
No files matched your search
+5
-43
@@ -2,49 +2,11 @@ FROM debian:bookworm-slim AS base
|
||||
|
||||
LABEL maintainer="OpenWrt Builder"
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
xz-utils \
|
||||
asciidoc \
|
||||
bash \
|
||||
bc \
|
||||
binutils \
|
||||
bzip2 \
|
||||
flex \
|
||||
git \
|
||||
g++ \
|
||||
gcc \
|
||||
time \
|
||||
util-linux \
|
||||
gawk \
|
||||
gzip \
|
||||
help2man \
|
||||
intltool \
|
||||
libelf-dev \
|
||||
zlib1g-dev \
|
||||
make \
|
||||
libncurses5-dev \
|
||||
libssl-dev \
|
||||
patch \
|
||||
perl \
|
||||
perl-modules \
|
||||
python3-dev \
|
||||
python3-setuptools \
|
||||
rsync \
|
||||
swig \
|
||||
tar \
|
||||
unzip \
|
||||
wget \
|
||||
which \
|
||||
gettext \
|
||||
xsltproc \
|
||||
sudo \
|
||||
android-sdk-libsparse-utils \
|
||||
mkbootimg \
|
||||
zstd \
|
||||
e2fsprogs \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
# Install required dependencies
|
||||
COPY dependencies.sh /dependencies.sh
|
||||
RUN chmod +x /dependencies.sh && \
|
||||
/dependencies.sh && \
|
||||
rm -rf /dependencies.sh
|
||||
|
||||
# Create a non-root user for building
|
||||
RUN useradd -G sudo -m -u 1000 builder
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
#!/bin/sh
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
apt-get update && apt-get install -y --no-install-recommends \
|
||||
xz-utils \
|
||||
asciidoc \
|
||||
bash \
|
||||
bc \
|
||||
binutils \
|
||||
bzip2 \
|
||||
flex \
|
||||
git \
|
||||
g++ \
|
||||
gcc \
|
||||
time \
|
||||
util-linux \
|
||||
gawk \
|
||||
gzip \
|
||||
help2man \
|
||||
intltool \
|
||||
libelf-dev \
|
||||
zlib1g-dev \
|
||||
make \
|
||||
libncurses5-dev \
|
||||
libssl-dev \
|
||||
patch \
|
||||
perl \
|
||||
perl-modules \
|
||||
python3-dev \
|
||||
python3-setuptools \
|
||||
rsync \
|
||||
swig \
|
||||
tar \
|
||||
unzip \
|
||||
wget \
|
||||
which \
|
||||
gettext \
|
||||
xsltproc \
|
||||
sudo \
|
||||
android-sdk-libsparse-utils \
|
||||
mkbootimg \
|
||||
zstd \
|
||||
e2fsprogs \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
@@ -38,7 +38,6 @@ These are my attempts at building the os... my end goal is to build a working mo
|
||||
- _**ucify**_ the uz801-tweaks... see `usb0` network setup!
|
||||
- Recover GHA build pipeline
|
||||
- Use built dtb from openstick-builder?
|
||||
- create dependency script (instead of dockerfile) to reuse in multiple dockerfiles and GHA
|
||||
|
||||
---
|
||||
### Stuff
|
||||
|
||||
Reference in new issue
Block a user