基于alpine搭建的一系列容器,力求实用,简洁。
借鉴同事搞的环境:github.com/jepsonwu/developer_docker
首先安装好docker环境。
1、编写好对应容器的dockerfile
2、编写好docker-compose
3、alpine环境完善,新增apk安装源:
http://dl-cdn.alpinelinux.org/alpine/edge/testing
http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-1.alpinelinux.org/alpine/edge/main
http://dl-2.alpinelinux.org/alpine/edge/main
http://dl-3.alpinelinux.org/alpine/edge/main
http://dl-4.alpinelinux.org/alpine/edge/main
http://dl-5.alpinelinux.org/alpine/edge/main
apk add --update && apk update && apk upgrade