Files
StarPilot/mapd_repo/Dockerfile
T
firestar5683 ab81464bd1 Maps
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>
2026-10-14 19:56:17 -05:00

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"]