Skip to content

Commit

Permalink
Merge pull request #3 from carapace-sh/replace-go
Browse files Browse the repository at this point in the history
replace go
  • Loading branch information
rsteube authored May 5, 2024
2 parents 12a0ee8 + 8508be3 commit ebda1fd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ ADD . /go-src
RUN cd /go-src && make build-termux

FROM golang:1.22.1
COPY --from=build --link /usr/local/go/ /usr/local/go-lenient/
COPY --from=build-termux --link /usr/local/go/ /usr/local/go-lenient-termux/
COPY --from=build --link /usr/local/go/ /usr/local/go
COPY --from=build-termux --link /usr/local/go/ /usr/local/go-termux/

RUN ln -s /usr/local/go-lenient/bin/go /usr/local/bin/go-lenient
RUN ln -s /usr/local/go-lenient-termux/bin/go /usr/local/bin/go-lenient-termux
RUN ln -s /usr/local/go-termux/bin/go /usr/local/bin/go-termux

RUN git config --global --add safe.directory '*'

0 comments on commit ebda1fd

Please sign in to comment.