Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
- Update to latest alpine release
- Update to latest submark release - Fixes #1
- Tag fixed submark version
  • Loading branch information
Roang-zero1 committed Jun 27, 2022
1 parent 4dba77e commit 864599e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM alpine:3.9 as base
FROM alpine:3.16 as base

RUN apk add --no-cache jq curl

SHELL ["/bin/ash", "-o", "pipefail", "-c"]
RUN curl -s https://api.github.com/repos/dahlia/submark/releases/latest | jq -r '.assets[] | select(.browser_download_url | contains("linux-x86_64")) | .browser_download_url' | xargs curl -o /usr/local/bin/submark -sSL && chmod +x /usr/local/bin/submark
RUN curl -s https://api.github.com/repos/dahlia/submark/releases/tags/0.3.1 | jq -r '.assets[] | select(.browser_download_url | contains("linux-x86_64")) | .browser_download_url' | xargs curl -o /usr/local/bin/submark -sSL && chmod +x /usr/local/bin/submark

COPY entrypoint.sh /entrypoint.sh

Expand Down

0 comments on commit 864599e

Please sign in to comment.