Skip to content

Commit

Permalink
Uses go version 1.20 and go install instead go get. Pin ascii2svg to …
Browse files Browse the repository at this point in the history
…last known commit.
  • Loading branch information
barthel committed Mar 28, 2023
1 parent 25da458 commit 9693eee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
ARG ASCIIDOCTOR_BASE_TAG=${CIRCLE_TAG:-latest}
ARG alpine_version=3.17.2
ARG golang_version=1.14
ARG golang_version=1.20
# Build ASCIIToSVG - @see: https://github.com/asciitosvg/asciitosvg
FROM golang:${golang_version}-alpine as go-builder

# No branch/tag/version available; pin to the last known commit for now
# https://github.com/asciitosvg/asciitosvg/commit/ca82a5ce41e2190a05e07af6e8b3ea4e3256a283
RUN apk add --no-cache git \
&& go get github.com/asciitosvg/asciitosvg/cmd/a2s
&& go install github.com/asciitosvg/asciitosvg/cmd/a2s@ca82a5ce41e2190a05e07af6e8b3ea4e3256a283


# =========================================
Expand Down

0 comments on commit 9693eee

Please sign in to comment.