mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-05-21 00:02:59 +00:00
Thin 2.0 was released June 22 (ish), so... We need to pin Thin to 1.X. This is embarrassing in a way, but also a great debugging opportunity every couple of years! 😬😅
8 lines
185 B
Docker
8 lines
185 B
Docker
FROM ruby:alpine
|
|
RUN apk add --update build-base curl
|
|
RUN gem install sinatra --version '~> 3'
|
|
RUN gem install thin --version '~> 1'
|
|
ADD hasher.rb /
|
|
CMD ["ruby", "hasher.rb"]
|
|
EXPOSE 80
|