Skip to content

Commit

Permalink
feat: update to 0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
haukeng committed Apr 3, 2022
1 parent 77f2508 commit 130c44a
Show file tree
Hide file tree
Showing 2 changed files with 217 additions and 60 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM alpine:3.14 AS base
FROM alpine:latest AS base

RUN apk add --no-cache tzdata && \
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
echo "Asia/Shanghai" > /etc/timezone && \
apk del tzdata && \
adduser -D subconverter

FROM alpine:3.14 AS downloader
FROM alpine:latest AS download

ARG TARGETPLATFORM
ENV VERSION v0.7.1
ENV VERSION v0.7.2

WORKDIR /

Expand All @@ -36,8 +36,8 @@ USER subconverter

WORKDIR /home/subconverter

COPY --from=downloader /usr/bin/subconverter /usr/bin/
COPY --from=downloader --chown=subconverter:subconverter /subconverter .
COPY --from=download /usr/bin/subconverter /usr/bin/
COPY --from=download --chown=subconverter:subconverter /subconverter .
COPY --chown=subconverter:subconverter config .

EXPOSE 25500
Expand Down
Loading

0 comments on commit 130c44a

Please sign in to comment.