containers / build

another build tool for container images (archived, see https://github.com/rkt/rkt/issues/4024)
Apache License 2.0
342 stars 80 forks source link

systemd-nspawn: unrecognized option '--setenv' #324

Closed taqtiqa-mark closed 7 years ago

taqtiqa-mark commented 7 years ago

I can run my acbuild bash script fine on my local machine (ubuntu xenial).

In the Travis-CI environment (Ubuntu trusty) acbuild run abends:

/bin/acbuild --debug run -- apt-get update
Running: [apt-get update]
systemd-nspawn: unrecognized option '--setenv'
run: non-zero exit code: 1

The workaround in issue #162 - create a script, copy it in and run it - is not relevant.

The issue is peculiar - according to Ubuntu systemd-nspawn is not available on Trusty....

So either Travis have patched/updated parts of their Trusty or the error is coming from within the acbuild rootfs. Bit puzzled.

The build log is here. https://travis-ci.org/taqtiqa/rkt-base/builds/259781806

The build scripts are in github: https://github.com/taqtiqa/rkt-base

Hope that helps?

taqtiqa-mark commented 7 years ago

I'm closing this. The project is no longer maintained and umoci and buildah are likely the tools people should be looking at. With that as context, this issue is just noise.