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

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
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 up -y && \
zypper --non-interactive install -y Mesa-dri-devel Mesa-dri && \
zypper --non-interactive install -y libinput-devel && \
zypper --non-interactive install -y \
RUN zypper --non-interactive install -y \
dnf \
dnf-command\(builddep\) \
rpmdevtools \
Mesa-dri-devel Mesa-dri \
git \
gcc8 \
gcc8-c++ \
......
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 up -y && \
zypper --non-interactive install -y Mesa-dri-devel Mesa-dri && \
zypper --non-interactive install -y libinput-devel && \
zypper --non-interactive install -y \
RUN zypper --non-interactive install -y \
dnf \
dnf-command\(builddep\) \
rpmdevtools \
Mesa-dri-devel Mesa-dri \
libinput-devel \
git \
rpm-build \
tar \
......
Markdown is supported
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