Results 1 to 2 of 2

Thread: SLES11 SP4 gcc5.2 (SDK) in docker image

Hybrid View

  1. #1

    SLES11 SP4 gcc5.2 (SDK) in docker image

    Hi!

    I need a docker image of SLES11-SP4, with SDK installed, to get gcc 5.2 (see [1])
    This is for use in a Jenkins setup.

    I installed a SLES12, regitered it, installed docker and pulled and activated the SLES11-SP4 base image [2].

    How do I add SDK / gcc5.2 to it?

    Any hints welcome.
    Thanks!

    Cheers,
    Oli

    [1] https://www.suse.com/releasenotes/x8...4/#fate-319015
    [2] https://www.suse.com/documentation/s...e-build_Images

  2. #2

    Re: SLES11 SP4 gcc5.2 (SDK) in docker image

    On 27/02/18 08:34, thinkparq wrote:

    > I need a docker image of SLES11-SP4, with SDK installed, to get gcc 5.2
    > (see [1])
    > This is for use in a Jenkins setup.
    >
    > I installed a SLES12, regitered it, installed docker and pulled and
    > activated the SLES11-SP4 base image [2].
    >
    > How do I add SDK / gcc5.2 to it?
    >
    > Any hints welcome.
    > Thanks!
    >
    > Cheers,
    > Oli
    >
    > [1]
    > https://www.suse.com/releasenotes/x8...4/#fate-319015
    > [2]
    > https://www.suse.com/documentation/s...e-build_Images


    From the second URL you linked "Pre-built images do not have
    repositories configured. But when the Docker host has an SLE
    subscription that provides access to the product used in the image,
    Zypper will automatically have access to the right repositories.".

    Does your SLES12 Docker host have access to the repos for the SLE11 SP4
    SDK? If so, your SLES11 SP4 container will automatically have access.
    Your Dockerfile would then need to include:

    --begin--
    FROM suse/sles11sp4:latest

    RUN zypper ref -s
    RUN zypper -n in gcc5
    ---end---

    Sorry for the late reply, if this is still an issue hopefully you'll see
    this.

    HTH.
    --
    Simon
    SUSE Knowledge Partner

    ------------------------------------------------------------------------
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below. Thanks.
    ------------------------------------------------------------------------

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •