Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Remove unused base dependencies #47

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN rustup target add "${!TARGETARCH}-unknown-linux-musl"

RUN dpkg --add-architecture ${TARGETARCH} && \
dpkg --add-architecture ${!CROSS_COMPILER_TARGET_ARCH} && \
apt-get -q update -y && apt-get -q install --no-install-recommends -y musl-dev:${TARGETARCH} libcap-dev:${TARGETARCH}
apt-get -q update -y && apt-get -q install --no-install-recommends -y musl-dev:${TARGETARCH}

ENV CC_aarch64_unknown_linux_musl=clang
ENV CFLAGS_aarch64_unknown_linux_musl="-isystem /usr/include/aarch64-linux-musl"
Expand Down
9 changes: 4 additions & 5 deletions rust/debian/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ SHELL ["/bin/bash", "-c"]
RUN DEPS="ca-certificates curl file m4 make locales pkg-config xz-utils cmake \
lsof procps git automake hunspell-en-gb hunspell-tools linux-perf \
texinfo procps zlib1g-dev clang-${LLVM_MAJOR_VERSION} \
llvm-${LLVM_MAJOR_VERSION} lld-${LLVM_MAJOR_VERSION} \
libc++-${LLVM_MAJOR_VERSION}-dev lldb-${LLVM_MAJOR_VERSION}\
lld-${LLVM_MAJOR_VERSION} lldb-${LLVM_MAJOR_VERSION}\
systemd libsystemd-dev patch osslsigncode \
libssl-dev bzip2 gcc g++ libtool m4 libc6-dev libcap-dev" \
libssl-dev bzip2 libtool m4 libc6-dev" \
&& apt-get update > /dev/null \
&& apt-key add /llvm-snapshot.gpg.key \
&& apt-get install -y --no-install-recommends software-properties-common > /dev/null \
Expand Down Expand Up @@ -73,11 +72,11 @@ RUN unmunch /usr/share/hunspell/en_GB.dic /usr/share/hunspell/en_GB.aff 2> /dev/
# msitools not avail on buster
RUN if [[ "${VARIANT_VERSION}" != "buster" ]] ; then \
apt update -y && \
apt install -y meson valac-bin valac valac-0.48-vapi libgsf-1-dev bats bison libgcab-dev libgirepository1.0-dev && \
apt-get install -y --no-install-recommends meson valac-bin valac valac-0.48-vapi libgsf-1-dev bats bison libgcab-dev libgirepository1.0-dev libgcab libgirepository1.0 && \
git clone --recurse-submodules https://github.com/GNOME/msitools.git && \
mkdir ./msitools/target && pushd ./msitools/target && \
meson .. && ninja install && popd && rm -rf ./msitools && ldconfig && wixl --version; \
apt autoremove -y meson valac-bin valac valac-0.48-vapi bats bison > /dev/null && \
apt autoremove -y meson valac-bin valac valac-0.48-vapi bats bison libgcab-dev libgirepository1.0-dev && \
apt-get clean > /dev/null && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc; \
fi
Expand Down
1 change: 1 addition & 0 deletions scripts/mk.debian
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ HOST_ARCH="$(uname -m)"
#
# redefine these
#
CROSS_COMPILER_TARGET_ARCHS="x86_64 aarch64"
CROSS_COMPILER_TARGET_ARCHS="${CROSS_COMPILER_TARGET_ARCHS:-$HOST_ARCH}"
PLATFORM=${PLATFORM:-${platforms[$HOST_ARCH]}}
VARIANT_VERSION=${VARIANT_VERSION:-bullseye}
Expand Down