mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
7839716b8d
* Prepare TUF scripts for CI and support different dev setups * Allow only generating selected platforms for pkgs * Force linux/amd64 on Dockerfile to support M1
20 lines
384 B
Plaintext
20 lines
384 B
Plaintext
FROM --platform=linux/amd64 golang:1.17.8-bullseye
|
|
LABEL maintainer="Fleet Developers <hello@fleetdm.com>"
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
gcc \
|
|
libgtk-3-dev \
|
|
libayatana-appindicator3-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN mkdir -p /usr/src/fleet
|
|
RUN mkdir -p /output
|
|
|
|
WORKDIR /usr/src/fleet
|
|
|
|
COPY orbit ./orbit
|
|
COPY pkg ./pkg
|
|
COPY go.mod go.sum ./
|
|
|
|
CMD /bin/bash
|