Skip to content

Commit

Permalink
Merge pull request #1 from sgerrand/releases
Browse files Browse the repository at this point in the history
Releases
  • Loading branch information
sgerrand committed Jan 3, 2018
2 parents 18d4c3c + 1c01ef6 commit 04f9a94
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
- run:
name: Create Docker volumes
command: |
docker create --name input --volume /home/builder/package alpine:3.6 /bin/true
docker create --name output --volume /packages alpine:3.6 /bin/true
docker create --name input --volume /home/builder/package alpine:3.7 /bin/true
docker create --name output --volume /packages alpine:3.7 /bin/true
docker cp ./APKBUILD input:/home/builder/package
- run:
name: Build packages
command: |
docker run --env RSA_PRIVATE_KEY="$RSA_PRIVATE_KEY" --env RSA_PRIVATE_KEY_NAME="$CIRCLE_PROJECT_USERNAME.rsa" \
--volumes-from input --volumes-from output $CIRCLE_PROJECT_USERNAME/alpine-abuild:v5
--volumes-from input --volumes-from output $CIRCLE_PROJECT_USERNAME/alpine-abuild:v6
- run:
name: Extract packages
command: |
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
command: |
ghr -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME -prerelease -delete unreleased packages
ghr -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME -prerelease unreleased packages/builder/x86_64
working_directory: ~/alpine-pkg-php5-redis
working_directory: ~/alpine-pkg-php5-imagick
release-tag:
docker:
- image: golang:alpine
Expand All @@ -73,7 +73,7 @@ jobs:
command: |
ghr -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME $CIRCLE_TAG packages
ghr -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME $CIRCLE_TAG packages/builder/x86_64
working_directory: ~/alpine-pkg-php5-redis
working_directory: ~/alpine-pkg-php5-imagick
workflows:
version: 2
build-test-release:
Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
# alpine-pkg-php5-imagick

[![CircleCI](https://circleci.com/gh/sgerrand/alpine-pkg-php5-imagick/tree/master.svg?style=svg)](https://circleci.com/gh/sgerrand/alpine-pkg-php5-imagick/tree/master)

This is the [PHP5 extension for ImageMagick][php-imagick] as an Alpine Linux package.

The package provided by Alpine Linux was removed from theirrepositories in the
3.6 release. A package for PHP7 is still available there.

## Releases

See the [releases page](https://github.com/sgerrand/alpine-pkg-php5-imagick/releases) for the latest
download links.

## Installing

The current installation method for these packages is to pull them in using
`wget` or `curl` and install the local file with `apk`:

apk --no-cache add ca-certificates wget
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://raw.githubusercontent.com/sgerrand/alpine-pkg-php5-imagick/master/sgerrand.rsa.pub
wget https://github.com/sgerrand/alpine-pkg-php5-imagick/releases/download/3.4.3-r0/php5-imagick-3.4.3-r0.apk
apk add php5-imagick-3.4.3-r0.apk

[php-imagick]: https://pecl.php.net/imagick

0 comments on commit 04f9a94

Please sign in to comment.