name: build_stm32mp2 services: build: build: &default-build context: . dockerfile: Dockerfile image: build_stm32mp2 tty: true stdin_open: true working_dir: /home/ubuntu/build entrypoint: - "bash" - "-c" command: [ "./script.sh" ] environment: &default-env - MACHINE=stm32mp25-eval volumes: &default-volumes - type: bind source: ${HOME}/.gitconfig target: /home/ubuntu/.gitconfig - type: bind source: ${HOME}/.git-credentials target: /home/ubuntu/.git-credentials - type: bind source: ${HOME}/.ssh target: /home/ubuntu/.ssh - type: bind source: ./build target: /home/ubuntu/build