Skip to content

Commit

Permalink
chore(build): use BCI 15.4 and related repos
Browse files Browse the repository at this point in the history
Signed-off-by: David Ko <dko@suse.com>
  • Loading branch information
innobead authored and David Ko committed Mar 20, 2023
1 parent b9ade47 commit 38e5d44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ FROM registry.suse.com/bci/bci-base:15.3
ARG ARCH=amd64

# Based on https://github.com/kubernetes-sigs/nfs-ganesha-server-and-external-provisioner/blob/master/deploy/docker/x86_64/Dockerfile
FROM registry.suse.com/suse/sle15:15.3 AS build
FROM registry.suse.com/suse/sle15:15.4 AS build

# Build ganesha from source, install it to /usr/local and a use multi stage build to have a smaller image
# RUN dnf install -y tar gcc cmake-3.14.2-1.fc30 autoconf libtool bison flex make gcc-c++ krb5-devel dbus-devel jemalloc-devel libnfsidmap-devel libnsl2-devel userspace-rcu-devel patch libblkid-devel
RUN zypper -n addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/SLE_15/ snappy && \
zypper -n addrepo --refresh https://download.opensuse.org/repositories/devel:/tools:/building/SLE_15_SP2/devel:tools:building.repo && \
zypper -n addrepo --refresh https://download.opensuse.org/repositories/devel:/tools:/building/15.4/devel:tools:building.repo && \
zypper --gpg-auto-import-keys ref

RUN zypper -n install autoconf bison curl cmake doxygen make git gcc-c++ flex Mesa-libGL-devel libdbus-1-3 \
Expand Down Expand Up @@ -41,7 +41,7 @@ RUN mkdir -p /ganesha-extra \
&& mkdir -p /ganesha-extra/etc/dbus-1/system.d \
&& cp src/scripts/ganeshactl/org.ganesha.nfsd.conf /ganesha-extra/etc/dbus-1/system.d/

FROM registry.suse.com/suse/sle15:15.3
FROM registry.suse.com/suse/sle15:15.4

RUN zypper addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/SLE_15/ snappy && \
zypper --gpg-auto-import-keys ref
Expand Down

0 comments on commit 38e5d44

Please sign in to comment.