Dockerfile 447 B

12345678910111213141516
  1. # CPEE Image
  2. FROM ruby:2.6-alpine
  3. RUN apk add --no-cache --virtual .build-deps \
  4. ruby-dev \
  5. rasqal-dev \
  6. raptor2-dev \
  7. build-base \
  8. icu-dev \
  9. && gem install cpee -v 1.4.26 \
  10. && apk del .build-deps \
  11. && apk add libcurl \
  12. && ln -s $GEM_HOME/gems/cpee-1.4.26/server /cpee-server \
  13. && ln -s $GEM_HOME/gems/cpee-1.4.26/cockpit /cpee-cockpit
  14. WORKDIR /cpee-server
  15. CMD ruby server.rb -v start