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

Unable to run gauge-ruby in ruby-alpine container #126

Closed
alexeybakunin opened this issue Jul 30, 2019 · 3 comments
Closed

Unable to run gauge-ruby in ruby-alpine container #126

alexeybakunin opened this issue Jul 30, 2019 · 3 comments
Assignees
Labels

Comments

@alexeybakunin
Copy link

Description

Unable to run gauge-ruby specs in ruby-alpine container
Dockerfile:

FROM ruby:2.5.5-alpine3.10 as deps

RUN apk add --update --no-cache \
  ruby-dev \
  build-base \
  pcre-dev \
  mariadb-dev \
  postgresql-dev \ 
  libxml2-dev \
  libxslt-dev \
  libffi-dev \
  ruby-nokogiri \
  curl

RUN curl -SsL https://downloads.gauge.org/stable | sh

RUN gauge install ruby

Steps to reproduce:

  1. Build and run docker container
  2. Try to run ruby specs inside docker container

Expected result:

  1. Specs ran successfully

Actual result:

  1. Failed to start gauge API: fork/exec bin/gauge-ruby: no such file or directory
@negiDharmendra negiDharmendra self-assigned this Aug 6, 2019
@negiDharmendra
Copy link
Contributor

Failed to start gauge API: fork/exec bin/gauge-ruby: no such file or directory

@alexeybakunin you can add libc6-compat and gcompat to resolve the above issue.
Example:

RUN apk add --update --no-cache \
  libc6-compat \
  gcompat

But the real problem with the alpine image would be the compatibility of google-protobuf gem.

@Apoorva-GA
Copy link
Contributor

@alexeybakunin Any update on this?

@Apoorva-GA
Copy link
Contributor

Closing this due to inactivity. Feel free to reopen if the issue persists.

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

No branches or pull requests

4 participants