Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Commit

Permalink
Sample app that prints a cat emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
xmunoz committed Apr 14, 2022
0 parents commit 5f625f9
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.2
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM ruby:2.7.2-slim-buster

WORKDIR /usr/src/app
COPY Gemfile /usr/src/app/Gemfile
COPY Gemfile.lock /usr/src/app/Gemfile.lock

# install gemfile and package
RUN bundle install

RUN ruby -e 'require "gemoji"; puts Emoji.find_by_alias("cat").raw'

4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'
ruby '2.7.2'

gem "gemoji", "~> 3.0"
16 changes: 16 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
GEM
remote: https://rubygems.org/
specs:
gemoji (3.0.1)

PLATFORMS
ruby

DEPENDENCIES
gemoji (~> 3.0)

RUBY VERSION
ruby 2.7.2p137

BUNDLED WITH
2.1.4
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# renovate-minimal-repro

Run the app: `docker build .`

This repo is using ruby 2.7.2. Renovate will attempt to update ruby, but it will fail to update the Gemfile :(
5 changes: 5 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"config:base"
]
}

0 comments on commit 5f625f9

Please sign in to comment.