FROM docker.tttech.com/nervesw/fogos-rpm-build:2.1.0

# NOTE: WORKDIR and USER are inside the docker container - do not change!
WORKDIR /home/build/
USER build:build

# You only need to copy the .git directory, as the build will come from an export
COPY .git/ .git/

CMD git-buildrpm build nerve-led-controller.spec
