Replaced RUN curl <url> with ADD <url> to prevent archive caching.
This commit is contained in:
parent
5b4380a4d4
commit
e0ee6ff7c6
@ -17,10 +17,10 @@ RUN chown root:root /entrypoint.sh && \
|
|||||||
# Create a dedicated user for Akkoma
|
# Create a dedicated user for Akkoma
|
||||||
RUN adduser --system --shell /bin/false --home /opt/akkoma akkoma
|
RUN adduser --system --shell /bin/false --home /opt/akkoma akkoma
|
||||||
|
|
||||||
# Clone the release build into a temporary directory and unpack it
|
# Download the release build into a temporary directory and unpack it
|
||||||
# then move the release to the home directory and delete temporary files
|
# then move the release to the home directory and delete temporary files
|
||||||
RUN curl 'https://akkoma-updates.s3-website.fr-par.scw.cloud/stable/akkoma-amd64-musl.zip' -o /tmp/akkoma.zip && \
|
ADD 'https://akkoma-updates.s3-website.fr-par.scw.cloud/stable/akkoma-amd64-musl.zip' /tmp/akkoma.zip
|
||||||
unzip /tmp/akkoma.zip -d /tmp/ && \
|
RUN unzip /tmp/akkoma.zip -d /tmp/ && \
|
||||||
mv /tmp/release/* /opt/akkoma && \
|
mv /tmp/release/* /opt/akkoma && \
|
||||||
rmdir /tmp/release && \
|
rmdir /tmp/release && \
|
||||||
rm /tmp/akkoma.zip && \
|
rm /tmp/akkoma.zip && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user