Skip to content

Commit

Permalink
细化基于alpine镜像的docker标签
Browse files Browse the repository at this point in the history
  • Loading branch information
jiakun committed Sep 11, 2023
1 parent b3961eb commit df4fa52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new
tags: |
ryjer/opentracker:alpine
ryjer/opentracker:20210823-alpine
ryjer/opentracker:alpine:3.18.3
ryjer/opentracker:20210823-alpine3.18.3
# 处理缓存无限增大问题的临时修复,以防出现问题。(等待github官方修复)
- name: Move cache
Expand Down
4 changes: 2 additions & 2 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine as build
FROM alpine:3.18.3 as build

WORKDIR /src

Expand All @@ -19,7 +19,7 @@ RUN cvs -d :pserver:[email protected]:/cvs -z9 co libowfat \
&& sed -i '/^FEATURES+=-DWANT_FULLSCRAPE$/s/^/#/' Makefile
&& make -j4

FROM alpine
FROM alpine:3.18.3

# XDG目录规范
ENV XDG_CONFIG_HOME=/config
Expand Down

0 comments on commit df4fa52

Please sign in to comment.