mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
Merge pull request #2289 from internetee/fix-dockerfiles
Fix dockerfiles
This commit is contained in:
commit
2a21fe14ae
2 changed files with 6 additions and 7 deletions
|
@ -9,7 +9,7 @@ ENV SECRET_KEY_BASE "$SECRET_KEY_BASE"
|
||||||
|
|
||||||
RUN npm install -g yarn@"$YARN_VER"
|
RUN npm install -g yarn@"$YARN_VER"
|
||||||
|
|
||||||
RUN mkdir -p -v -m776 {/opt/webapps/app/tmp/pids,/opt/ca,/opt/ca/newcerts}
|
RUN bash -c 'mkdir -pv -m776 {/opt/webapps/app/tmp/pids,/opt/ca,/opt/ca/newcerts}'
|
||||||
RUN echo -n 12 > /opt/ca/serial
|
RUN echo -n 12 > /opt/ca/serial
|
||||||
RUN chmod 776 /opt/ca/serial
|
RUN chmod 776 /opt/ca/serial
|
||||||
RUN echo '3A0e' > /opt/ca/crlnumber
|
RUN echo '3A0e' > /opt/ca/crlnumber
|
||||||
|
|
|
@ -9,8 +9,7 @@ ENV SECRET_KEY_BASE "$SECRET_KEY_BASE"
|
||||||
|
|
||||||
RUN npm install -g yarn@"$YARN_VER"
|
RUN npm install -g yarn@"$YARN_VER"
|
||||||
|
|
||||||
RUN mkdir -p -m776 /opt/webapps/app/tmp/pids
|
RUN bash -c 'mkdir -pv -m776 {/opt/webapps/app/tmp/pids,/opt/ca,/opt/ca/newcerts}'
|
||||||
RUN mkdir -p -m776 /opt/ca/newcerts
|
|
||||||
RUN echo -n 12 > /opt/ca/serial
|
RUN echo -n 12 > /opt/ca/serial
|
||||||
RUN chmod 776 /opt/ca/serial
|
RUN chmod 776 /opt/ca/serial
|
||||||
RUN echo '3A0e' > /opt/ca/crlnumber
|
RUN echo '3A0e' > /opt/ca/crlnumber
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue