Skip to content

Dockerfile still expects cmd/openapi folder #32100

Description

@GurliGebis

Describe the bug

COPY cmd/openapi/ cmd/openapi/

#27 [linux/amd64 node  1/12] FROM docker.io/library/node:26-alpine@sha256:e88a35be04478413b7c71c455cd9865de9b9360e1f43456be5951032d7ac1a66
#27 resolve docker.io/library/node:26-alpine@sha256:e88a35be04478413b7c71c455cd9865de9b9360e1f43456be5951032d7ac1a66 0.0s done
#27 sha256:efa3805586160bb7886714fb850335dfef22f0750e15872a86893710cc57000c 453B / 453B 0.0s done
#27 sha256:55afa1ecc21d2bb5e5045f32dafee56272ffd89860bac26f6c32123439af26a4 3.85MB / 3.85MB 0.1s done
#27 extracting sha256:55afa1ecc21d2bb5e5045f32dafee56272ffd89860bac26f6c32123439af26a4 0.4s done
#27 sha256:8daabfc0032e746ed1aebd5975ce46fdec99b39f90153c828cbeed976a9e15e1 58.96MB / 58.96MB 0.3s done
#27 extracting sha256:8daabfc0032e746ed1aebd5975ce46fdec99b39f90153c828cbeed976a9e15e1 1.3s done
#27 DONE 1.8s

#28 [linux/amd64 node  2/12] RUN apk update && apk add --no-cache make
#28 CANCELED
------
 > [linux/amd64 builder  9/16] COPY cmd/openapi/ cmd/openapi/:
------
Dockerfile:48
--------------------
  46 |     COPY Makefile .
  47 |     COPY cmd/implement/ cmd/implement/
  48 | >>> COPY cmd/openapi/ cmd/openapi/
  49 |     COPY api/ api/
  50 |     RUN --mount=type=cache,target=${GOMODCACHE} make install
--------------------
ERROR: failed to build: failed to solve: failed to compute cache key: failed to calculate checksum of ref o1fogk3fm5erhdaetj8tasmv7::dthwbzy1j9yrxkjme0gc7wfcy: "/cmd/openapi": not found

This broke in #31530

Steps to reproduce

Try and build the docker image from the master branch

Configuration details

Not relevant

Log details

Not relevant

What type of operating system or environment does evcc run on?

Linux

External automation

  • I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • I have verified that the issue is reproducible with the latest nightly build

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions