2020-12-09 06:06:37 +00:00
|
|
|
# This image is meant to enable cross-architecture builds.
|
|
|
|
# It assumes the lighthouse binary has already been
|
|
|
|
# compiled for `$TARGETPLATFORM` and moved to `./bin`.
|
2022-05-31 06:09:12 +00:00
|
|
|
FROM --platform=$TARGETPLATFORM ubuntu:22.04
|
2020-12-09 06:06:37 +00:00
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
libssl-dev \
|
|
|
|
ca-certificates \
|
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY ./bin/lighthouse /usr/local/bin/lighthouse
|