File: Dockerfile

package info (click to toggle)
golang-github-google-go-tpm 0.9.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,932 kB
  • sloc: makefile: 13
file content (16 lines) | stat: -rw-r--r-- 559 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM golang:1.22
# We need OpenSSL headers to build the simulator
RUN apt-get update && apt-get install -y \
    libssl-dev \
 && rm -rf /var/lib/apt/lists/*
# We need golangci-lint for linting
ARG VERSION=1.56.2
RUN curl -SL \
    https://github.com/golangci/golangci-lint/releases/download/v${VERSION}/golangci-lint-${VERSION}-linux-amd64.tar.gz \
    --output golangci.tar.gz \
 && tar --extract --verbose \
    --file=golangci.tar.gz \
    --directory=/usr/local/bin \
    --strip-components=1 \
    --wildcards "*/golangci-lint" \
 && rm golangci.tar.gz