1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +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 elasticsearch
redis redis
# Ignore public assets
public/uploads
public/assets
# Ignore all logfiles and tempfiles. # Ignore all logfiles and tempfiles.
log log
*.log *.log
tmp tmp
public/uploads # Ignore platform dependent files
public/assets
*.DS_Store *.DS_Store
.idea .idea
# PDF invoices # PDF invoices
invoices invoices
.DS_Store
# Development files # Development files
.vagrant .vagrant
Vagrantfile Vagrantfile
@ -35,6 +36,7 @@ provision
.git* .git*
Dockerfile Dockerfile
docker-compose* docker-compose*
test
# Docs # Docs
*.md *.md

View File

@ -4,7 +4,9 @@ MAINTAINER peng@sleede.com
# Install upgrade system packages # Install upgrade system packages
RUN apk update && apk upgrade && \ RUN apk update && apk upgrade && \
# Install runtime apk dependencies # Install runtime apk dependencies
apk add --update curl \ apk add --update \
bash \
curl \
nodejs \ nodejs \
yarn \ yarn \
imagemagick \ imagemagick \
@ -19,7 +21,8 @@ RUN apk update && apk upgrade && \
libxslt-dev \ libxslt-dev \
libidn-dev && \ libidn-dev && \
# Install buildtime apk dependencies # 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 \ build-base \
linux-headers \ linux-headers \
git \ git \

View File

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

View File

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