mirror of
https://github.com/cheat/cheat.git
synced 2026-05-27 19:48:44 +02:00
4799c2cb17
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.16.5 to 5.19.1. - [Release notes](https://github.com/go-git/go-git/releases) - [Changelog](https://github.com/go-git/go-git/blob/main/HISTORY.md) - [Commits](https://github.com/go-git/go-git/compare/v5.16.5...v5.19.1) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v5 dependency-version: 5.19.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
23 lines
563 B
Docker
23 lines
563 B
Docker
FROM golang:1.25@sha256:31c1e53dfc1cc2d269deec9c83f58729fa3c53dc9a576f6426109d1e319e9e9a
|
|
|
|
ENV GOOS=linux
|
|
ENV GOARCH=arm
|
|
ENV CGO_ENABLED=1
|
|
ENV CC=arm-linux-gnueabihf-gcc
|
|
ENV PATH="/go/bin/${GOOS}_${GOARCH}:${PATH}"
|
|
ENV PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig
|
|
|
|
RUN dpkg --add-architecture armhf \
|
|
&& apt update \
|
|
&& apt install -y --no-install-recommends \
|
|
gcc-arm-linux-gnueabihf \
|
|
libc6-dev-armhf-cross \
|
|
pkg-config \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY . /src/workdir
|
|
|
|
WORKDIR /src/workdir
|
|
|
|
RUN go build ./...
|