Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAPS installation in docker fails #437

Open
nils-tekampe opened this issue Jan 22, 2018 · 2 comments
Open

DAPS installation in docker fails #437

nils-tekampe opened this issue Jan 22, 2018 · 2 comments

Comments

@nils-tekampe
Copy link

Problem description

I tried to install DAPS in a docker container. The container bases on ubuntu (for some specific reaons) and follows the instructions from here
The make command fails with the following output:

/home/daps/make/setfiles.mk:95: *** Fatal error: ID "book.daps.user" has already been defined. Stop.

This somehow seems to be related to this issue
Does anybody have an idea, how to fix this?

Expected behavior

Setup should succeed.

Steps to reproduce the behavior

  • Start docker

git clone https://github.com/nils-tekampe/daps-ubuntu-docker.git
cd daps-ubuntu-docker
docker build -t "dernils:daps-ubuntu-docker" .

@nils-tekampe nils-tekampe changed the title DAPS installation in docker DAPS installation in docker fails Jan 22, 2018
@fsundermeyer fsundermeyer assigned ghost Apr 3, 2019
@preston
Copy link

preston commented Nov 13, 2019

Any updates on this? An official Dockerfile and build would be much appreciated and greatly extend the reach of DAPS.

@ghost
Copy link

ghost commented Nov 13, 2019

@preston Sorry for the long response time. I can't help much with Ubuntu but can offer an openSUSE-based Dockerfile that should work:

FROM opensuse/leap:latest
MAINTAINER You <[email protected]>

RUN zypper ar https://download.opensuse.org/repositories/Documentation:/Tools/openSUSE_Leap_15.1/Documentation:Tools.repo && \
  zypper --gpg-auto-import-keys ref -f && \
  zypper -n install -y daps ruby2.5-rubygem-asciidoctor suse-doc-style-checker git geekodoc novdoc tar w3m libreoffice-draw curl && \
  zypper clean --all

(This is an updated/cleaned-up version of the one we use for Travis. The one we use on Travis is a bit messier because we try to optimize for container size.)


@fsundermeyer Why did you assign this to me? This looks like yet another issue with building on Ubuntu which is not really my area of expertise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants