Skip to content

Commit

Permalink
Docker: add tzdata package for latest alpine (#45)
Browse files Browse the repository at this point in the history
* Docker: add tzdata package for latest alpine

* Chore: remove old files
  • Loading branch information
Loyalsoldier committed Jun 21, 2021
1 parent 54fe0b1 commit fe0cdc9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 63 deletions.
6 changes: 0 additions & 6 deletions Dockerfile

This file was deleted.

4 changes: 2 additions & 2 deletions build/package/Dockerfile
Expand Up @@ -8,14 +8,14 @@ RUN make clean && make build

# ---

FROM alpine:3.13
FROM alpine:latest

WORKDIR /opt/easegress

COPY build/package/entrypoint.sh /
COPY --from=builder /opt/easegress/bin/ /opt/easegress/bin/

RUN apk --no-cache add tini && \
RUN apk --no-cache add tini tzdata && \
chmod +x /entrypoint.sh /opt/easegress/bin/*

ENV PATH /opt/easegress/bin:$PATH
Expand Down
4 changes: 2 additions & 2 deletions build/package/Dockerfile.goreleaser
@@ -1,11 +1,11 @@
FROM alpine:3.13
FROM alpine:latest

WORKDIR /opt/easegress

ADD egctl easegress-server /opt/easegress/bin/
COPY build/package/entrypoint.sh /

RUN apk --no-cache add tini && \
RUN apk --no-cache add tini tzdata && \
chmod +x /entrypoint.sh /opt/easegress/bin/*

ENV PATH /opt/easegress/bin:$PATH
Expand Down
26 changes: 0 additions & 26 deletions release/build-client-image.sh

This file was deleted.

27 changes: 0 additions & 27 deletions release/build-server-image.sh

This file was deleted.

0 comments on commit fe0cdc9

Please sign in to comment.