On Sonntag, 24. November 2024, 11:19:08 CET Berthold Gunreben wrote:
Hi Martin,
packages in OBS do not have subdirectories. You can use some tar/zip archive instead and unpack it into the container.
actually, when you use scmsync (packaging via git), you can have sub directories.
On Sun, 24 Nov 2024 08:24:36 +0000 Martin Hooper <martin@mjhooper.co.uk> wrote:
I am having a bit of trouble getting obs builds to see the public directory here when building the container on obs...
Doing it local with osc build works fine from what I can tell but when I commit to the obs it can't find the files...
Basically I want the contents of the public folder avilable to be copied into the containers directory...
% ls -l total 4 -rw-r--r-- 1 martin martin 337 Nov 24 07:52 Dockerfile drwxr-xr-x 1 martin martin 58 Nov 24 07:01 public
Dockerfile
FROM opensuse/tumbleweed RUN zypper install -y nginx
COPY ./public/* /srv/www/htdocs
-- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev