1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

Merge pull request #149 from Rojo/feature/docker-alpine-image

Feature/docker alpine image
This commit is contained in:
Sylvain 2019-09-24 14:48:40 +02:00 committed by GitHub
commit 9dd87760de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 9 deletions

View File

@ -12,22 +12,23 @@ postgresql
elasticsearch
redis
# Ignore public assets
public/uploads
public/assets
# Ignore all logfiles and tempfiles.
log
*.log
tmp
public/uploads
public/assets
# Ignore platform dependent files
*.DS_Store
.idea
# PDF invoices
invoices
.DS_Store
# Development files
.vagrant
Vagrantfile
@ -35,6 +36,7 @@ provision
.git*
Dockerfile
docker-compose*
test
# Docs
*.md

View File

@ -4,7 +4,9 @@ MAINTAINER peng@sleede.com
# Install upgrade system packages
RUN apk update && apk upgrade && \
# Install runtime apk dependencies
apk add --update curl \
apk add --update \
bash \
curl \
nodejs \
yarn \
imagemagick \
@ -19,7 +21,8 @@ RUN apk update && apk upgrade && \
libxslt-dev \
libidn-dev && \
# Install buildtime apk dependencies
apk add --update --no-cache --virtual .build-deps alpine-sdk \
apk add --update --no-cache --virtual .build-deps \
alpine-sdk \
build-base \
linux-headers \
git \

View File

@ -3,6 +3,8 @@ source 'https://rubygems.org'
gem 'compass-rails', '2.0.4'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.11.1'
# Use Puma as web server
gem 'puma', '3.10.0'
# Use SCSS for stylesheets
gem 'sass-rails', '5.0.1'
@ -45,7 +47,6 @@ group :development do
gem 'foreman'
# Preview mail in the browser
gem 'mailcatcher'
gem 'puma'
gem 'rb-readline'
end

View File

@ -517,7 +517,7 @@ DEPENDENCIES
prawn
prawn-table
protected_attributes
puma
puma (= 3.10.0)
pundit
rack-protection (= 1.5.5)
railroady