Unverified Commit 8ea2be74 authored by Maxim Cournoyer's avatar Maxim Cournoyer Committed by Maxim Cournoyer
Browse files

docker: Resolve partial update problem in Tumbleweed image.

This resolves the following error:

  ImportError: /usr/lib64/libgobject-2.0.so.0: undefined symbol:
  g_memdup2

* docker/Dockerfile_opensuse-tumbleweed: Do not update and install
stuff in various steps.
* docker/Dockerfile_opensuse-leap_15.2: Likewise.

Change-Id: I286576cddd5226cf40fd1bec997be36b2142e355
parent e55531c9
FROM opensuse/leap:15.2 FROM opensuse/leap:15.2
RUN zypper --non-interactive install dnf
RUN dnf clean all
RUN zypper --non-interactive lr
RUN zypper --non-interactive --gpg-auto-import-keys refresh
RUN zypper --non-interactive lr
RUN zypper --non-interactive install -y dnf-command\(builddep\) rpmdevtools
RUN zypper --non-interactive clean RUN zypper --non-interactive install -y \
RUN zypper --non-interactive up -y && \ dnf \
zypper --non-interactive install -y Mesa-dri-devel Mesa-dri && \ dnf-command\(builddep\) \
zypper --non-interactive install -y libinput-devel && \ rpmdevtools \
zypper --non-interactive install -y \ Mesa-dri-devel Mesa-dri \
git \ git \
gcc8 \ gcc8 \
gcc8-c++ \ gcc8-c++ \
......
FROM opensuse/tumbleweed FROM opensuse/tumbleweed
RUN zypper --non-interactive install dnf
RUN dnf clean all
RUN zypper --non-interactive lr
RUN zypper --non-interactive --gpg-auto-import-keys refresh
RUN zypper --non-interactive lr
RUN zypper --non-interactive install -y dnf-command\(builddep\) rpmdevtools
RUN zypper --non-interactive clean RUN zypper --non-interactive install -y \
RUN zypper --non-interactive up -y && \ dnf \
zypper --non-interactive install -y Mesa-dri-devel Mesa-dri && \ dnf-command\(builddep\) \
zypper --non-interactive install -y libinput-devel && \ rpmdevtools \
zypper --non-interactive install -y \ Mesa-dri-devel Mesa-dri \
libinput-devel \
git \ git \
rpm-build \ rpm-build \
tar \ tar \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment