Dockerfile Permission denied on apt-get ?

Project ID: 30421e78-0af4-4e56-8bc5-4890f4ffe42d In service: hiveMQ, Initialally I'm trying to deploy from the hiveMQ template but it seem to throw this error on apt-get ? Now i'm confused
#7 0.095 E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)

#7 ERROR: process "/bin/sh -c apt-get update && apt-get install -y nginx" did not complete successfully: exit code: 100

-----
> [3/4] RUN apt-get update && apt-get install -y nginx:



0.095 E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)

-----



1 warning found (use --debug to expand):

- JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 21)



Dockerfile:13

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

12 | # Install Nginx for reverse proxy

13 | >>> RUN apt-get update && \

14 | >>> apt-get install -y nginx

15 |

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

ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y nginx" did not complete successfully: exit code: 100
#7 0.095 E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)

#7 ERROR: process "/bin/sh -c apt-get update && apt-get install -y nginx" did not complete successfully: exit code: 100

-----
> [3/4] RUN apt-get update && apt-get install -y nginx:



0.095 E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)

-----



1 warning found (use --debug to expand):

- JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 21)



Dockerfile:13

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

12 | # Install Nginx for reverse proxy

13 | >>> RUN apt-get update && \

14 | >>> apt-get install -y nginx

15 |

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

ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y nginx" did not complete successfully: exit code: 100
9 Replies
Percy
Percy4mo ago
Project ID: 30421e78-0af4-4e56-8bc5-4890f4ffe42d
hazamashoken
hazamashokenOP4mo ago
nvm its not just me. The template have 0% uptimre
Brody
Brody4mo ago
hey, whenever you reference a template for help, please link to it
hazamashoken
hazamashokenOP4mo ago
I switch to emqx already. but here's the template in case anyone run into the same problem https://railway.app/template/ELAarG
Brody
Brody4mo ago
thank you, it has been unpublished as it has a zero percent success rate
jeffsrandall
jeffsrandall3mo ago
I'm trying to use the emqx template but I can't use ws
Brody
Brody3mo ago
sorry but I'm not sure what that has to do with this help thread?
jeffsrandall
jeffsrandall3mo ago
Sorry, I'm new here, I'm a little lost, I need help with this problem, do you know where I can get it?
Brody
Brody3mo ago
you can open a new help thread, please don't hijack unrelated threads
Want results from more Discord servers?
Add your server