mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-06 12:33:51 +08:00
ab81464bd1
Add navigation and map matching providers with the vendored map service sources. Co-authored-by: Daniel Koepping <elkoled@gmail.com> Co-authored-by: Danny <dannyirwin31@yahoo.com> Co-authored-by: Prabhaav Pillai <prabhaav@msu.edu> Co-authored-by: dirwin31 <83434411+dirwin31@users.noreply.github.com>
27 lines
526 B
Docker
27 lines
526 B
Docker
FROM golang:1.25.1-bookworm AS go-toolchain
|
|
FROM ubuntu:24.04
|
|
WORKDIR /usr/local/app
|
|
COPY --from=go-toolchain /usr/local/go /usr/local/go
|
|
ENV PATH="/usr/local/go/bin:/root/go/bin:${PATH}"
|
|
ENV GOTOOLCHAIN=local
|
|
|
|
# Install the application dependencies
|
|
COPY scripts/install-ubuntu-deps.sh ./
|
|
RUN ./install-ubuntu-deps.sh
|
|
|
|
COPY go.mod ./
|
|
COPY go.sum ./
|
|
RUN go mod download
|
|
|
|
COPY Makefile ./
|
|
RUN make capnp-deps
|
|
|
|
COPY . /usr/local/app
|
|
|
|
RUN make build-static
|
|
|
|
RUN mv build/mapd ./mapd
|
|
RUN mv scripts/* ./
|
|
|
|
CMD ["./docker_entry.sh"]
|