Sign inSign up

inspir3/arm-git

By inspir3

•Updated almost 7 years ago

git for raspberry

Image
0

123

inspir3/arm-git repository overview

⁠Authentification

Create an user with same name/uid than your Linux user

$ docker run \
  -it \
  --name git \
  inspir3/arm-git \
  adduser -D -G users -u $UID -s /bin/sh $USER

Update your image to save your configuration

$ docker commit git inspir3/arm-git

⁠Usage

$ cat > ~/bin/git << EOF
#!/bin/sh

docker run \
  --user $USER \
  --volume \$HOME/:\$HOME/ \
  --workdir \$PWD \
  -ti --rm \
  inspir3/arm-git /usr/bin/git "\$@"
EOF
$ chmod +x ~/bin/git
$ git --version

⁠Info

alpine:latest (3.74 Mb)
 |
 |__ inspir3/arm-git:latest (17.4 Mb)

Total size: 21.1 Mb

Tag summary

Content type

Image

Digest

Size

11.9 MB

Last updated

almost 7 years ago

docker pull inspir3/arm-git