fleet/Dockerfile-desktop-linux
Lucas Manuel Rodriguez 7839716b8d
Prepare TUF scripts for CI and support different dev setups (#5616)
* 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
2022-05-11 17:00:18 -03:00

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