Perebonilado
Perebonilado
RRailway
Created by Perebonilado on 10/25/2024 in #✋|help
Help - Trying to install Libre office on server but unfamiliar with docker
@Brody @Adam Please, I need help with this. It is pretty urgent
28 replies
RRailway
Created by Perebonilado on 10/26/2024 in #✋|help
Issues using NixPacks
bc8937d0-8a92-41f5-b8d9-e0f76d660929
4 replies
RRailway
Created by Perebonilado on 10/25/2024 in #✋|help
Help - Trying to install Libre office on server but unfamiliar with docker
Please, I need a response
28 replies
RRailway
Created by Perebonilado on 10/25/2024 in #✋|help
Help - Trying to install Libre office on server but unfamiliar with docker
So after trying this, the application build. For some reason, I still get an error when trying to use the package which says: Could not find soffice binary I'm not sure why this happens, I also tried specifying the path like so:
# nixpacks.toml

[phases.setup]
nixPkgs = ['...', 'libreoffice']

[phases.build]
cmds = ['...', 'ln -s $(which soffice) /usr/local/bin/soffice']
# nixpacks.toml

[phases.setup]
nixPkgs = ['...', 'libreoffice']

[phases.build]
cmds = ['...', 'ln -s $(which soffice) /usr/local/bin/soffice']
But to no avail. Any ideas?
28 replies
RRailway
Created by Perebonilado on 10/25/2024 in #✋|help
Help - Trying to install Libre office on server but unfamiliar with docker
alright, ill give it another go. thanks Brody
28 replies
RRailway
Created by Perebonilado on 10/25/2024 in #✋|help
Help - Trying to install Libre office on server but unfamiliar with docker
oh so it needs to be like this
# nixpacks.toml

[phases.setup]
nixPkgs = ['...', 'libreoffice']
# nixpacks.toml

[phases.setup]
nixPkgs = ['...', 'libreoffice']
28 replies
RRailway
Created by Perebonilado on 10/25/2024 in #✋|help
Help - Trying to install Libre office on server but unfamiliar with docker
not very familiar with discord haha. only used it to reach out to you guys
28 replies
RRailway
Created by Perebonilado on 10/25/2024 in #✋|help
Help - Trying to install Libre office on server but unfamiliar with docker
#15 [stage-0 11/15] RUN --mount=type=cache,id=s/f8624550-8b68-46f9-8631-b118ef743732-/root/npm,target=/root/.npm npm ci



#15 0.243 /bin/bash: line 1: npm: command not found



#15 ERROR: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 127



-----

> [stage-0 11/15] RUN --mount=type=cache,id=s/f8624550-8b68-46f9-8631-b118ef743732-/root/npm,target=/root/.npm npm ci:

0.243 /bin/bash: line 1: npm: command not found

-----



Dockerfile:26

-------------------

24 | ENV NIXPACKS_PATH=/app/node_modules/.bin:$NIXPACKS_PATH

25 | COPY . /app/.

26 | >>> RUN --mount=type=cache,id=s/f8624550-8b68-46f9-8631-b118ef743732-/root/npm,target=/root/.npm npm ci

27 |

28 | # build phase

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 127



Error: Docker build failed
#15 [stage-0 11/15] RUN --mount=type=cache,id=s/f8624550-8b68-46f9-8631-b118ef743732-/root/npm,target=/root/.npm npm ci



#15 0.243 /bin/bash: line 1: npm: command not found



#15 ERROR: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 127



-----

> [stage-0 11/15] RUN --mount=type=cache,id=s/f8624550-8b68-46f9-8631-b118ef743732-/root/npm,target=/root/.npm npm ci:

0.243 /bin/bash: line 1: npm: command not found

-----



Dockerfile:26

-------------------

24 | ENV NIXPACKS_PATH=/app/node_modules/.bin:$NIXPACKS_PATH

25 | COPY . /app/.

26 | >>> RUN --mount=type=cache,id=s/f8624550-8b68-46f9-8631-b118ef743732-/root/npm,target=/root/.npm npm ci

27 |

28 | # build phase

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 127



Error: Docker build failed
28 replies
RRailway
Created by Perebonilado on 10/25/2024 in #✋|help
Help - Trying to install Libre office on server but unfamiliar with docker
# nixpacks.toml

[phases.setup]
nixPkgs = ['libreoffice']
# nixpacks.toml

[phases.setup]
nixPkgs = ['libreoffice']
28 replies
RRailway
Created by Perebonilado on 10/25/2024 in #✋|help
Help - Trying to install Libre office on server but unfamiliar with docker
nixpacks.toml [phases.setup] nixPkgs = ['libreoffice']
28 replies
RRailway
Created by Perebonilado on 10/25/2024 in #✋|help
Help - Trying to install Libre office on server but unfamiliar with docker
the build fails for some reason
28 replies
RRailway
Created by Perebonilado on 10/25/2024 in #✋|help
Help - Trying to install Libre office on server but unfamiliar with docker
#15 [stage-0 11/15] RUN --mount=type=cache,id=s/f8624550-8b68-46f9-8631-b118ef743732-/root/npm,target=/root/.npm npm ci #15 0.243 /bin/bash: line 1: npm: command not found #15 ERROR: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 127 -----
[stage-0 11/15] RUN --mount=type=cache,id=s/f8624550-8b68-46f9-8631-b118ef743732-/root/npm,target=/root/.npm npm ci:
0.243 /bin/bash: line 1: npm: command not found ----- Dockerfile:26 ------------------- 24 | ENV NIXPACKS_PATH=/app/node_modules/.bin:$NIXPACKS_PATH 25 | COPY . /app/. 26 | >>> RUN --mount=type=cache,id=s/f8624550-8b68-46f9-8631-b118ef743732-/root/npm,target=/root/.npm npm ci 27 | 28 | # build phase ------------------- ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 127 Error: Docker build failed
28 replies
RRailway
Created by Perebonilado on 10/25/2024 in #✋|help
Help - Trying to install Libre office on server but unfamiliar with docker
Thanks Brody, I would try this out and give feedback
28 replies
RRailway
Created by Perebonilado on 10/25/2024 in #✋|help
Help - Trying to install Libre office on server but unfamiliar with docker
So I can just add this nixpacks.toml file to the root directory and that does it?
28 replies
RRailway
Created by Perebonilado on 10/25/2024 in #✋|help
Help - Trying to install Libre office on server but unfamiliar with docker
bc8937d0-8a92-41f5-b8d9-e0f76d660929
28 replies