Skip to content

more compact dockerfile with single user #7

more compact dockerfile with single user

more compact dockerfile with single user #7

Workflow file for this run

on:
push:
jobs:
docker:
runs-on: buildjet-4vcpu-ubuntu-2204-arm
permissions:
packages: write
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v4
with:
file: etc/packaging/32bit/Dockerfile
tags: ghcr.io/viamrobotics/viam-server:armv7
pull: true
push: true
platforms: linux/armv7
build:
needs: [docker]
runs-on: buildjet-4vcpu-ubuntu-2204-arm
container:
image: ghcr.io/viamrobotics/viam-server:armv7
# options: --platform linux/armv7
steps:
- uses: actions/checkout@v3
- name: build
run: |
go build -v -tags no_pigpio,no_tflite ./web/cmd/server
file server