Skip to content

Commit

Permalink
chore(release): bumped version to v2.0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
whatwewant committed Nov 4, 2023
1 parent 356aa15 commit f46633d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
22 changes: 21 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,33 @@ RUN CGO_ENABLED=0 \
-ldflags '-w -s -buildid=' \
-v -o /clash ./cmd/clash

FROM whatwewant/builder-node:v20-1 as builder-ui

ADD https://github.com/doreamon-design/clash-board /build

WORKDIR /build

RUN yarn

RUN yarn build

FROM whatwewant/alpine:v3.17-1

ENV TZ=Asia/Shanghai

LABEL org.opencontainers.image.source="https://github.com/doreamon-design/clash"

ENV CLASH_OVERRIDE_EXTERNAL_UI_DIR=/etc/clash/ui

ENV CLASH_CONFIG_FILE=/etc/clash/config.yaml

ENV CLASH_HOME_DIR=/etc/clash

COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/

COPY --from=builder /Country.mmdb /root/.config/clash/
COPY --from=builder-ui /build/dist /etc/clash/ui

COPY --from=builder /Country.mmdb /etc/clash/

COPY --from=builder /clash /usr/bin

Expand Down
4 changes: 3 additions & 1 deletion constant/version.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package constant

import "github.com/doreamon-design/clash"

var (
Version = "unknown version"
Version = clash.Version
BuildTime = "unknown time"
)
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package clash

// Version is the version of lighthouse
var Version = "2.0.13"
var Version = "2.0.14"

0 comments on commit f46633d

Please sign in to comment.