metanorma / metanorma-docker

Docker container for running the Metanorma toolchain
https://www.metanorma.com
5 stars 3 forks source link

Bugfix/apt get not found #167

Closed CAMOBAP closed 1 year ago

CAMOBAP commented 1 year ago
ronaldtse commented 1 year ago

Looks good but there's an error for metanorma-ruby:

#11 1.032 Err:8 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu lunar Release
#11 1.033   404  Not Found [IP: 185.125.190.52 80]

#11 2.487 E: The repository 'http://ppa.launchpad.net/inkscape.dev/stable/ubuntu lunar Release' does not have a Release file.
------
Dockerfile.ruby:33
--------------------
  32 |     ENV BUNDLE_WITHOUT="development:test"
  33 | >>> RUN --mount=type=secret,id=bundle_config,dst=/usr/local/bundle/config \
  34 | >>>     --mount=type=secret,id=gemrc_config,dst=$GEM_HOME/.gemrc \
  35 | >>>   gem install bundler && \
  36 | >>>   apt-get update && apt-get --no-install-recommends install -y gcc g++ cmake libxml2-dev libxslt-dev libsass-dev zlib1g-dev && \
  37 | >>>   cd /setup && \
  38 | >>>   bundle install --no-cache --redownload && \
  39 | >>>   rm -rf /usr/local/bundle/cache && \
  40 | >>>   find /usr/local/bundle/gems -type d -name 'spec' -prune -exec rm -r "{}" \; && \
  41 | >>>   find /usr/local/bundle/gems -type d -name 'test' -prune -exec rm -r "{}" \; && \
  42 | >>>   apt-get purge -y gcc g++ ruby-dev cmake libxml2-dev libxslt-dev libsass-dev zlib1g-dev && \
  43 | >>>   apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/*
  44 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c gem install bundler &&   apt-get update && apt-get --no-install-recommends install -y gcc g++ cmake libxml2-dev libxslt-dev libsass-dev zlib1g-dev &&   cd /setup &&   bundle install --no-cache --redownload &&   rm -rf /usr/local/bundle/cache &&   find /usr/local/bundle/gems -type d -name 'spec' -prune -exec rm -r \"{}\" \\; &&   find /usr/local/bundle/gems -type d -name 'test' -prune -exec rm -r \"{}\" \\; &&   apt-get purge -y gcc g++ ruby-dev cmake libxml2-dev libxslt-dev libsass-dev zlib1g-dev &&   apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c gem install bundler &&   apt-get update && apt-get --no-install-recommends install -y gcc g++ cmake libxml2-dev libxslt-dev libsass-dev zlib1g-dev &&   cd /setup &&   bundle install --no-cache --redownload &&   rm -rf /usr/local/bundle/cache &&   find /usr/local/bundle/gems -type d -name 'spec' -prune -exec rm -r \"{}\" \\; &&   find /usr/local/bundle/gems -type d -name 'test' -prune -exec rm -r \"{}\" \\; &&   apt-get purge -y gcc g++ ruby-dev cmake libxml2-dev libxslt-dev libsass-dev zlib1g-dev &&   apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
Run echo "${{ steps.meta.outputs.tags }}" > /tmp/docker-tags.txt

Merging first.