Browse Source

Separate definition of packages for Docker environment. Don't override confirmation of package installation in local environment.

v2
Christoph Scholtes 3 months ago
parent
commit
ad376509e0
2 changed files with 40 additions and 5 deletions
  1. +39
    -4
      Dockerfile
  2. +1
    -1
      Makefile

+ 39
- 4
Dockerfile View File

@@ -5,7 +5,45 @@ ARG JOBS

# Install make and sudo to bootstrap
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends make sudo
RUN apt-get update && apt-get install -y --no-install-recommends \
make \
sudo \
ca-certificates \
git \
build-essential \
autoconf \
automake \
bison \
flex \
gawk \
libtool-bin \
libncurses5-dev \
unzip \
zip \
jq \
libgl-dev \
libglu-dev \
git \
wget \
curl \
cmake \
nasm \
xz-utils \
file \
python3 \
libxml2-dev \
libssl-dev \
texinfo \
help2man \
libz-dev \
rsync \
xxd \
perl \
coreutils \
zstd \
markdown \
libarchive-tools \
gettext
RUN echo "%sudo ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers

# Create unprivileged user to build toolchains and plugins
@@ -21,9 +59,6 @@ WORKDIR /home/build/rack-plugin-toolchain

COPY Makefile /home/build/rack-plugin-toolchain/

# Install dependencies for building toolchains and plugins
RUN make dep-ubuntu

# Clean up files to free up space
USER root
RUN rm -rf /var/lib/apt/lists/*


+ 1
- 1
Makefile View File

@@ -273,7 +273,7 @@ plugin-analyze: static-analysis-cppcheck


dep-ubuntu:
sudo apt-get install --assume-yes --no-install-recommends \
sudo apt-get install --no-install-recommends \
ca-certificates \
git \
build-essential \


Loading…
Cancel
Save