-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# Set the base image for subsequent instructions: | ||
#------------------------------------------------------------------------------ | ||
|
||
FROM alpine:3.3 | ||
FROM alpine:3.4 | ||
MAINTAINER Marc Villacorta Morera <[email protected]> | ||
|
||
#------------------------------------------------------------------------------ | ||
|
@@ -16,15 +16,17 @@ ENV PORTUS_VERSION="master" \ | |
# Install: | ||
#------------------------------------------------------------------------------ | ||
|
||
RUN apk --no-cache add --update -t deps git ruby-mini_portile gcc make \ | ||
musl-dev libxml2-dev libxslt-dev mariadb-dev openssl-dev \ | ||
RUN apk --no-cache add --update -t deps git gcc make musl-dev \ | ||
libxml2-dev libxslt-dev mariadb-dev openssl-dev libffi-dev \ | ||
&& apk --no-cache add bash ruby-bundler ruby-dev nodejs tzdata libxslt \ | ||
mariadb-libs mariadb-client openssl ruby-io-console ruby-bigdecimal \ | ||
mariadb-client-libs curl-dev \ | ||
&& echo 'gem: --verbose --no-document' > /etc/gemrc; cd /tmp \ | ||
&& git clone https://github.com/SUSE/Portus.git . \ | ||
&& git checkout ${PORTUS_VERSION}; mkdir /portus \ | ||
&& git archive ${PORTUS_VERSION} | tar -xC /portus \ | ||
&& git rev-parse --short HEAD > /portus/VERSION; cd /portus \ | ||
&& sed -i 's/mysql2 (0.3.18)/mysql2 (0.4.4)/' Gemfile.lock \ | ||
&& bundle install --retry=3 \ | ||
&& apk del --purge deps; rm -rf /tmp/* /var/cache/apk/* | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters