mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 04:45:47 +02:00
Merge 9fde0bcdf4
into e6bd9d0ae6
This commit is contained in:
commit
59dc906db4
1 changed files with 3 additions and 5 deletions
|
@ -1,13 +1,11 @@
|
||||||
# run with:
|
# run with:
|
||||||
# docker build -t lazygit .
|
# docker build -t lazygit .
|
||||||
# docker run -it lazygit:latest /bin/sh
|
# docker run -it lazygit:latest
|
||||||
|
|
||||||
FROM golang:1.24 as build
|
FROM golang:1.24 AS build
|
||||||
WORKDIR /go/src/github.com/jesseduffield/lazygit/
|
WORKDIR /go/src/github.com/jesseduffield/lazygit/
|
||||||
COPY go.mod go.sum ./
|
|
||||||
RUN go mod download
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go build
|
RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor
|
||||||
|
|
||||||
FROM alpine:3.19
|
FROM alpine:3.19
|
||||||
RUN apk add --no-cache -U git xdg-utils
|
RUN apk add --no-cache -U git xdg-utils
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue