Sign inSign up

ellerbrock/alpine-git

By ellerbrock

Updated almost 7 years ago

run git as unprivileged user

Image
1

1.3K

ellerbrock/alpine-git repository overview

docker

alpine-git

Docker Automated Build Docker Pulls Quay Status Open Source Love Gitter Chat

Installation

docker pull ellerbrock/alpine-git

Example Usage

Clone a Repository in the current folder:

docker run -it \
  -v ${PWD}:/home/git \
ellerbrock/alpine-git clone https://github.com/ellerbrock/docker-collection.git

Configuration Parameter

These Settings are optional, if not set the default values will be used.

# Optional Configuration Parameter
ARG SERVICE_USER
ARG SERVICE_HOME

# Default Settings
ENV SERVICE_USER ${SERVICE_USER:-app}
ENV SERVICE_HOME ${SERVICE_HOME:-/home/${SERVICE_USER}}

Documentation: https://docs.docker.com/compose/compose-file/#/args

Contact / Social Media

Get the latest News about Web Development, Open Source, Tooling, Server & Security

GithubDockernpmTwitterFacebookGoogle+Gitter

Tag summary

Content type

Image

Digest

Size

9.6 MB

Last updated

almost 7 years ago

docker pull ellerbrock/alpine-git