github.com/KEINOS/go-countline@v1.1.0/.github/Dockerfile (about)

     1  # =============================================================================
     2  #  Test Container for Vaious Go Versions (Last Updated: 2022-08-05)
     3  # =============================================================================
     4  # Default version: golang:alpine
     5  ARG VARIANT="alpine"
     6  
     7  # -----------------------------------------------------------------------------
     8  #  Main Stage
     9  # -----------------------------------------------------------------------------
    10  FROM golang:${VARIANT}
    11  
    12  RUN apk add --no-cache \
    13      git \
    14      gcc musl-dev \
    15      make \
    16      && \
    17      wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s latest
    18  
    19  WORKDIR /workspaces
    20  
    21  ENTRYPOINT make unit_test