[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: s2i container for Common Lisp apps using Quicklisp



For what it's worth, I can't build the sti-ruby package from github for different reasons.  What should I be using as the base image for RHEL7 containers?

Step 0 : FROM openshift/base-rhel7
Trying to pull repository registry.access.redhat.com/openshift/base-rhel7 ... failed
Trying to pull repository docker.io/openshift/base-rhel7 ... failed

Thanks,

AG

----- Original Message -----
From: "Ben Parees" <bparees redhat com>
To: "Anthony Green" <green redhat com>
Cc: "dev" <dev lists openshift redhat com>, "Michal Fojtik" <mfojtik redhat com>
Sent: Thursday, December 17, 2015 8:22:24 AM
Subject: Re: s2i container for Common Lisp apps using Quicklisp

Pull the latest rhel72 image, if you haven't lately. At one point /run was
defined as a volume which might be causing you issues. It should not be a
volume in the latest image.

Ben Parees | OpenShift
On Dec 17, 2015 7:27 AM, "Anthony Green" <green redhat com> wrote:

> I am.  RHEL 7.2.
>
> AG
>
> ----- Original Message -----
> From: "Michal Fojtik" <mfojtik redhat com>
> To: "Anthony Green" <green redhat com>
> Cc: dev lists openshift redhat com
> Sent: Thursday, December 17, 2015 7:25:47 AM
> Subject: Re: s2i container for Common Lisp apps using Quicklisp
>
> I think you have to build the RHEL7 image on RHEL7 host system.
>
> On Thu, Dec 17, 2015 at 1:02 PM, Anthony Green <green redhat com> wrote:
>
> > I wrote an s2i container for Common Lisp apps using Quicklisp.
> >
> >   https://github.com/atgreen/sti-lisp
> >
> > The centos7 version works well.  I get the following when I try rhel7..
> > any pointers?
> >
> > Thanks,
> >
> > Anthony Green
> >
> >
> > [root laptop]# TARGET=rhel7 make
> > SKIP_SQUASH=0 VERSIONS="1.0" OS=rhel7 VERSION= BASE_IMAGE_NAME=lisp
> > OPENSHIFT_NAMESPACES="2.0" hack/build.sh
> > -> Building rhscl/lisp-rhel7 ...
> > Sending build context to Docker daemon 39.94 kB
> > Step 0 : FROM rhel7
> >  ---> c4f590bbcbe3
> > Step 1 : MAINTAINER Anthony Green <green redhat com>
> >  ---> Using cache
> >  ---> 6bbcc0de44c3
> > Step 2 : EXPOSE 8080
> >  ---> Using cache
> >  ---> 259c018d80b0
> > Step 3 : ENV LISP_VERSION 1.0
> >  ---> Using cache
> >  ---> 61fe5060c2ce
> > Step 4 : LABEL io.k8s.description "Platform for building and running
> > Common Lisp applications" io.k8s.display-name "Common Lisp"
> > io.openshift.expose-services "8080:http" io.openshift.tags
> > "builder,cl,lisp,sbcl"
> >  ---> Using cache
> >  ---> c3934025b7f0
> > Step 5 : RUN yum install -y
> > https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
> >  ---> Using cache
> >  ---> fed4bbd1aea2
> > Step 6 : RUN yum install -y sbcl &&     yum clean all -y
> >  ---> Using cache
> >  ---> 6a2f2460bd1e
> > Step 7 : COPY ./s2i/bin/ $STI_SCRIPTS_PATH
> >  ---> Using cache
> >  ---> b7217732522d
> > Step 8 : COPY ./contrib/ /opt/app-root
> >  ---> Using cache
> >  ---> 75512c5fb5a1
> > Step 9 : ENV HOME /opt/app-root
> >  ---> Using cache
> >  ---> 6c2863983c9c
> > Step 10 : RUN chown -R 1001:0 /opt/app-root
> >  ---> Running in 44857feb49b7
> > Timestamp: 2015-12-17 06:35:28.039338311 -0500 EST
> > Code: System error
> >
> > Message: lstat
> >
> /var/lib/docker/devicemapper/mnt/44857feb49b7130db5c1bc4d907a482d1f585dc841d689a3d0098130dc9c0977/rootfs/run/secrets:
> > not a directory
> >
> > Frames:
> > ---
> > 0: setupRootfs
> > Package: github.com/opencontainers/runc/libcontainer
> > File: rootfs_linux go 39
> > ---
> > 1: Init
> > Package:
> github.com/opencontainers/runc/libcontainer.(*linuxStandardInit)
> > File: standard_init_linux go 52
> > ---
> > 2: StartInitialization
> > Package: github.com/opencontainers/runc/libcontainer.(*LinuxFactory)
> > File: factory_linux go 242
> > ---
> > 3: initializer
> > Package: github.com/docker/docker/daemon/execdriver/native
> > File: init go 35
> > ---
> > 4: Init
> > Package: github.com/docker/docker/pkg/reexec
> > File: reexec go 26
> > ---
> > 5: main
> > Package: main
> > File: docker go 19
> > ---
> > 6: main
> > Package: runtime
> > File: proc go 63
> > ---
> > 7: goexit
> > Package: runtime
> > File: asm_amd64 s 2232
> > [8] System error: lstat
> >
> /var/lib/docker/devicemapper/mnt/44857feb49b7130db5c1bc4d907a482d1f585dc841d689a3d0098130dc9c0977/rootfs/run/secrets:
> > not a directory
> > make: *** [build] Error 1
> >
> > _______________________________________________
> > dev mailing list
> > dev lists openshift redhat com
> > http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
> >
>
> _______________________________________________
> dev mailing list
> dev lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]