Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Update the Dockerfile to fix Alpine SSL issues
Browse files Browse the repository at this point in the history
This change adds the `openssl` and `ca-certificates` packages and fixes
the SSL issues that are common when you're trying to run scripts in
Alpine.
  • Loading branch information
dazoakley committed Jul 17, 2018
1 parent 1491af0 commit b4ed101
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM ruby:2.4.2-alpine

MAINTAINER Darren Oakley <[email protected]>

RUN apk add --update --no-cache build-base ruby-dev libxml2-dev libxslt-dev postgresql-dev mysql-dev openssl-dev
RUN apk add --update --no-cache build-base ruby-dev libxml2-dev libxslt-dev postgresql-dev mysql-dev openssl openssl-dev ca-certificates && \
update-ca-certificates

ENV APP_HOME /app
RUN mkdir $APP_HOME
Expand All @@ -16,4 +17,4 @@ COPY . .

EXPOSE 5000

CMD "puma"
CMD ["puma"]
8 changes: 8 additions & 0 deletions HISTORY
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
= 3.5.3 / 2018-07-17

Dockerfile update to include additional packages:
- openssl
- ca-certificates

This solves some SSL issues on alpine based images.

= 3.5.2 / 2018-07-17

Addition of a new ENV variable `LOG_LEVEL`. By default Bandiera will log at
Expand Down
2 changes: 1 addition & 1 deletion lib/bandiera/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Bandiera
VERSION = '3.5.2'
VERSION = '3.5.3'
end

0 comments on commit b4ed101

Please sign in to comment.