HUB
Sign inSign up

hyperized/phive

By hyperized

•Updated almost 6 years ago

Simple, multistage Alpine based phive.io container. Updated monthly

Image
1

10K+

hyperized/phive repository overview

⁠Phive

Simple, multistage Alpine based https://phar.io/⁠ phive container. Updated monthly

⁠Usage

⁠As single temporary container

docker run \
  --interactive \
  --tty \
  --rm \
  --volume $(pwd):/repo \
  --workdir=/repo \
  hyperized/phive \
  phive install
  
# One-liner
docker run -it --rm -v $(pwd):/repo -w /repo hyperized/phive phive install

⁠As docker-compose service

version: "3"
services:
  phive:
    image: hyperized/phive:latest
    restart: 'no'
    volumes:
      - ./:/repo
      - phive:/root/.phive
    working_dir: /repo
    entrypoint: ["phive"]
    
volumes:
  phive:

Run it as:

docker-compose run --rm phive install

NOTE: The volume phive stores the cached phar files that have been installed by PHIVE, so successive runs process faster.

Tag summary
Recent tags
Content type
Image
Digest
Size
37.3 MB
Last updated
almost 6 years ago
docker pull hyperized/phive:latest