Skip to content

Unable to build in balena #1

@eihnat

Description

@eihnat

When I tried to fork on balena, i get error/failed during building release.
Build log:

[Info]     Starting build for cattlegrid, user eduard
[Info]     Dashboard link: https://dashboard.balena-cloud.com/apps/1869644/devices
[Error]    Could not detect project type: Service main: Could not find a Dockerfile for this service
[Error]    Not deploying release.

docker-compose.yml

version: '2.1'
networks: {}
volumes:
  resin-data: {}
services:
  main:
    build:
      context: .
    privileged: true
    tty: true
    restart: always
    network_mode: host
    volumes:
      - 'resin-data:/data'
    labels:
      io.resin.features.kernel-modules: '1'
      io.resin.features.firmware: '1'
      io.resin.features.dbus: '1'
      io.resin.features.supervisor-api: '1'
      io.resin.features.resin-api: '1'

Also tried to git copy and build with balena-cli, I get error:

Error: no "Dockerfile[.*]", "docker-compose.yml" or "package.json" file
found in source folder "."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions