Skip to content

Commit

Permalink
feat: Update baidupcs-go.
Browse files Browse the repository at this point in the history
  • Loading branch information
GSMLG-BOT committed Dec 1, 2023
1 parent d968466 commit edee3dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-buildimage-baidupcs-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build-image:
strategy:
matrix:
version: ["v3.8.7"]
version: ["v3.9.5"]
runs-on: ubuntu-latest
steps:
-
Expand Down
8 changes: 4 additions & 4 deletions docker/baidupcs-go/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:alpine as builder

ARG VERSION=v3.8.7
ARG VERSION=v3.9.5
ENV GO111MODULE=on

COPY ./src /app
Expand All @@ -9,17 +9,17 @@ WORKDIR /app

RUN go build -ldflags "-X main.Version=${VERSION} -s -w" -o baidupcs-go

FROM alpine:3.16
FROM alpine:3.18

LABEL maintainer="Jonathan Gao <gsmlg.com@gmail.com>"

ARG VERSION=v3.8.7
ARG VERSION=v3.9.5

ENV VERSION=$VERSION

COPY --from=builder /app/baidupcs-go /usr/local/bin/baidupcs-go

RUN apk add --update bash curl jq
RUN apk add --update bash curl jq aria2

VOLUME ["/data"]

Expand Down

0 comments on commit edee3dd

Please sign in to comment.