Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

make build fails with error #75

Closed
marcellanz opened this issue Aug 7, 2021 · 3 comments · Fixed by #77
Closed

make build fails with error #75

marcellanz opened this issue Aug 7, 2021 · 3 comments · Fixed by #77

Comments

@marcellanz
Copy link
Member

make build fails with:

% make build
docker build -f Dockerfile-Bakeware -t eigr/massa-proxy:0.1.36 .
[+] Building 1.1s (14/21)                                                                                                                                                                                                               
 => [internal] load build definition from Dockerfile-Bakeware                                                                                                                                                                      0.0s
 => => transferring dockerfile: 1.03kB                                                                                                                                                                                             0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                  0.0s
 => => transferring context: 2B                                                                                                                                                                                                    0.0s
 => [internal] load metadata for docker.io/library/alpine:3                                                                                                                                                                        0.0s
 => [internal] load metadata for docker.io/library/elixir:1.12-alpine                                                                                                                                                              0.6s
 => [builder 1/8] FROM docker.io/library/elixir:1.12-alpine@sha256:557c1597322d0b10f255d3c208b24e51755ce64b9faee675940ca0f06ffe093c                                                                                                0.0s
 => [internal] load build context                                                                                                                                                                                                  0.2s
 => => transferring context: 2.86MB                                                                                                                                                                                                0.1s
 => [stage-1 1/8] FROM docker.io/library/alpine:3                                                                                                                                                                                  0.0s
 => CACHED [stage-1 2/8] RUN apk add --no-cache --update openssl zstd                                                                                                                                                              0.0s
 => CACHED [stage-1 3/8] WORKDIR /home/app                                                                                                                                                                                         0.0s
 => CACHED [builder 2/8] RUN mkdir -p /app/massa_proxy                                                                                                                                                                             0.0s
 => CACHED [builder 3/8] WORKDIR /app/massa_proxy                                                                                                                                                                                  0.0s
 => CACHED [builder 4/8] RUN apk add --no-cache --update git build-base zstd                                                                                                                                                       0.0s
 => [builder 5/8] COPY . /app/massa_proxy                                                                                                                                                                                          0.0s
 => ERROR [builder 6/8] RUN rm -rf /app/apps/massa_proxy/mix.exs     && mv /app/apps/massa_proxy/mix-bakeware.exs           /app/apps/massa_proxy/mix.exs                                                                          0.2s
------
 > [builder 6/8] RUN rm -rf /app/apps/massa_proxy/mix.exs     && mv /app/apps/massa_proxy/mix-bakeware.exs           /app/apps/massa_proxy/mix.exs:
#14 0.186 mv: can't rename '/app/apps/massa_proxy/mix-bakeware.exs': No such file or directory
------
executor failed running [/bin/sh -c rm -rf /app/apps/massa_proxy/mix.exs     && mv /app/apps/massa_proxy/mix-bakeware.exs           /app/apps/massa_proxy/mix.exs]: exit code: 1
make: *** [build] Error 1
@sleipnir
Copy link
Member

sleipnir commented Aug 7, 2021

This file was removed after some refactors.....
We forgot to fix the make.
This week I'll take a look at it but apparently it's pretty simple to solve

sleipnir pushed a commit to sleipnir/massa that referenced this issue Aug 10, 2021
sleipnir pushed a commit that referenced this issue Aug 10, 2021
* Add dependency

* Try ockam

* Fix. Bakeware compilation

* merge dependencies

* Closes this #75

* Remove unascessary dependencies
@sleipnir
Copy link
Member

@marcellanz please try again

@marcellanz
Copy link
Member Author

@sleipnir It works, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants