1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

fix alpine-arm

This commit is contained in:
kev 2016-02-22 19:48:35 +08:00
parent f031f9e1f9
commit 7802ea52c7
3 changed files with 7 additions and 3 deletions

View File

@ -51,7 +51,7 @@ dockerfiles
- [x] influxdb
- [x] iptables
- [x] jenkins
- [x] jenkins-arm
- [x] jenkins-arm :beetle:
- [x] joomla
- [x] mantisbt
- [x] monit

View File

@ -10,7 +10,8 @@ rootfs.tar.xz: mkimage-alpine.sh
mkimage-alpine.sh:
curl -sSLO https://github.com/docker/docker/raw/master/contrib/mkimage-alpine.sh
sed -i -r -e '/docker import/s@alpine:\$$REL@vimagick/alpine-arm:$${REL#v}@' \
sed -i -r -e '/trap /s@@chmod 0755 $$TMP $$ROOTFS; &@' \
-e '/docker import/s@alpine:\$$REL@vimagick/alpine-arm:$${REL#v}@' \
-e '/docker (tag|run)/d' mkimage-alpine.sh
chmod +x mkimage-alpine.sh

View File

@ -18,7 +18,8 @@ rootfs.tar.xz: mkimage-alpine.sh
mkimage-alpine.sh:
curl -sSLO https://github.com/docker/docker/raw/master/contrib/mkimage-alpine.sh
sed -i -r -e '/docker import/s@alpine:\$$REL@vimagick/alpine-arm:$${REL#v}@' \
sed -i -r -e '/trap /s@@chmod 0755 $$TMP $$ROOTFS; &@' \
-e '/docker import/s@alpine:\$$REL@vimagick/alpine-arm:$${REL#v}@' \
-e '/docker (tag|run)/d' mkimage-alpine.sh
chmod +x mkimage-alpine.sh
@ -38,6 +39,8 @@ clean:
## Make Images
```
$ docker login
$ make RELEASE=edge
$ make test RELEASE=edge
$ make push RELEASE=edge