Merge pull request #45 from juanantoniofj/master

Ruby apps support
This commit is contained in:
Kasra Bigdeli
2018-01-07 18:55:00 -08:00
committed by GitHub
4 changed files with 21 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
RUN apk --update add make g++
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY ./src/Gemfile /usr/src/app/
RUN bundle install
COPY ./src /usr/src/app
ENV RACK_ENV production
EXPOSE 80
CMD ["rackup", "config.ru", "--host", "0.0.0.0", "--port", "80"]
+8 -1
View File
@@ -95,6 +95,13 @@ class TemplateHelper {
dockerFileFromName: 'python',
displayName: 'Python',
tagSuffix: '-alpine3.6'
},
{
templateName: 'ruby-rack',
dockerHubImageName: 'library/ruby',
dockerFileFromName: 'ruby-rack',
displayName: 'Ruby Rack',
tagSuffix: '-alpine3.7'
}
];
@@ -253,4 +260,4 @@ module.exports = {
get: function () {
return templateHelperInstance;
}
};
};
Submodule captain-sample-apps/ruby-rack added at b4539f6147
Binary file not shown.