mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Docker: T4637: add dependencies for podman build
This commit is contained in:
parent
8443b98f54
commit
31c3bc2f11
@ -355,13 +355,10 @@ RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \
|
||||
|
||||
# Go required for validators and vyos-xe-guest-utilities
|
||||
RUN GO_VERSION_INSTALL="1.18.3" ; \
|
||||
if [ "$ARCH" = "arm64v8" ] ; then \
|
||||
wget -O /tmp/go${GO_VERSION_INSTALL}.linux-arm64.tar.gz https://go.dev/dl/go${GO_VERSION_INSTALL}.linux-arm64.tar.gz ; \
|
||||
else \
|
||||
wget -O /tmp/go${GO_VERSION_INSTALL}.linux-amd64.tar.gz https://go.dev/dl/go${GO_VERSION_INSTALL}.linux-amd64.tar.gz ; \
|
||||
fi && \
|
||||
wget -O /tmp/go${GO_VERSION_INSTALL}.linux-amd64.tar.gz https://go.dev/dl/go${GO_VERSION_INSTALL}.linux-$(dpkg-architecture -qDEB_HOST_ARCH).tar.gz ; \
|
||||
tar -C /opt -xzf /tmp/go*.tar.gz && \
|
||||
rm /tmp/go*.tar.gz
|
||||
RUN echo "export PATH=/opt/go/bin:$PATH" >> /etc/bash.bashrc
|
||||
|
||||
# Packages needed for ipaddrcheck
|
||||
RUN apt-get update && apt-get install -y \
|
||||
@ -577,6 +574,27 @@ RUN apt-get update && apt-get install -y \
|
||||
docbook-to-man \
|
||||
docbook-utils
|
||||
|
||||
# Packages needed for podman
|
||||
RUN apt-get update && sudo apt-get install -y \
|
||||
btrfs-progs \
|
||||
git \
|
||||
iptables \
|
||||
libassuan-dev \
|
||||
libbtrfs-dev \
|
||||
libc6-dev \
|
||||
libdevmapper-dev \
|
||||
libglib2.0-dev \
|
||||
libgpgme-dev \
|
||||
libgpg-error-dev \
|
||||
libprotobuf-dev \
|
||||
libprotobuf-c-dev \
|
||||
libseccomp-dev \
|
||||
libselinux1-dev \
|
||||
libsystemd-dev \
|
||||
pkg-config \
|
||||
runc \
|
||||
uidmap
|
||||
|
||||
#
|
||||
# fpm: a command-line program designed to help you build packages (e.g. deb)
|
||||
#
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user