Skip to content

Commit 91fb039

Browse files
committed
Add version tags for pkg
1 parent bbe9020 commit 91fb039

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Containerfile.pkg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ LABEL org.opencontainers.image.title="Cloudflared" \
2727
# Install cloudflared
2828
RUN pkg update && \
2929
pkg install -y ${PACKAGES} && \
30+
mkdir -p /app && \
31+
pkg query '%v' cloudflared > /app/version && \
3032
pkg clean -ay && \
3133
rm -rf /var/cache/pkg/* /var/db/pkg/repos/*
3234

Containerfile.pkg.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ LABEL org.opencontainers.image.title="{{ title }}" \
2929
# Install cloudflared
3030
RUN pkg update && \
3131
pkg install -y ${PACKAGES} && \
32+
mkdir -p /app && \
33+
pkg query '%v' cloudflared > /app/version && \
3234
pkg clean -ay && \
3335
rm -rf /var/cache/pkg/* /var/db/pkg/repos/*
3436

0 commit comments

Comments
 (0)