Dockerfile in squib-0.15.3 vs Dockerfile in squib-0.16.0.pre.preview1

- old
+ new

@@ -1,25 +1,27 @@ -FROM ruby:2.5-alpine +# This is the official Squib Docker image. +# +FROM ruby:2.7-slim WORKDIR /usr/src/app LABEL org.squib.url=http://squib.rocks \ org.squib.github=https://github.com/andymeneely/squib -RUN apk --no-cache add --update \ +RUN apt-get update && \ + apt-get install -y \ + libgirepository1.0-dev \ + build-essential \ ruby-dev \ - build-base \ - libxml2-dev \ - libxslt-dev \ - pcre-dev \ - libffi-dev \ - cairo + ruby \ + ruby-gdk-pixbuf2 \ + git \ + fonts-open-sans -# Just for devving on -COPY . /app +# Build the current directory of Squib +COPY . /usr/src/app +RUN rm -f /usr/src/app/Gemfile.lock +RUN gem install bundler +RUN bundle install +RUN bundle exec rake install -CMD ["sh"] +# ENTRYPOINT [ "sh" ] -# RUN gem install \ -# squib \ -# -- --use-system-libraries - -# NOTE: STILL UNDER DEVELOPMENT! Don't use this just yet.