Sign inSign up

zaaksam/alpine

By zaaksam

Updated about 4 years ago

base on alpine:3.8, add `wait-for-it.sh` and `zoneinfo.zip` for Golang

Image
1

1M+

zaaksam/alpine repository overview

What's the wait-for-it.sh

wait-for-it.sh is a pure bash script that will wait on the availability of a host and TCP port. It is useful for synchronizing the spin-up of interdependent services, such as linked docker containers. Since it is a pure bash script, it does not have any external dependencies.

More:

github.com/vishnubob/wait-for-it

Tags

  • 3.8

Dockerfile

FROM alpine:3.8
LABEL maintainer="[email protected]"
COPY zoneinfo.zip /usr/local/go/lib/time/zoneinfo.zip
COPY wait-for-it.sh /usr/local/bin/wait-for-it.sh
COPY zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone \
    && echo "https://mirrors.ustc.edu.cn/alpine/v3.8/main/" > /etc/apk/repositories \
    && chmod 777 /usr/local/bin/wait-for-it.sh \
    && apk add --no-cache \
    ca-certificates \
    openssh \
    bash

Tag summary

Content type

Image

Digest

sha256:887a69d6f

Size

7 MB

Last updated

about 4 years ago

docker pull zaaksam/alpine:3.15