mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
Version v0.2.0-alpha.2-r2
This commit is contained in:
parent
cc37f0dd8a
commit
7dd23396a0
5 changed files with 19 additions and 5 deletions
|
@ -213,7 +213,11 @@ RUN \
|
|||
COPY --from=pict-rs-builder /opt/build/pict-rs/target/$TARGET/$BUILD_MODE/pict-rs /usr/local/bin/pict-rs
|
||||
COPY --from=imagemagick-builder /usr/local /usr/local
|
||||
|
||||
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
||||
ENV \
|
||||
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
||||
|
||||
RUN \
|
||||
chown pictrs:pictrs /mnt
|
||||
|
||||
VOLUME /mnt
|
||||
WORKDIR /opt/pict-rs
|
||||
|
|
|
@ -214,7 +214,11 @@ RUN \
|
|||
COPY --from=pict-rs-builder /opt/build/pict-rs/target/$TARGET/$BUILD_MODE/pict-rs /usr/local/bin/pict-rs
|
||||
COPY --from=imagemagick-builder /usr/local /usr/local
|
||||
|
||||
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
||||
ENV \
|
||||
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
||||
|
||||
RUN \
|
||||
chown pictrs:pictrs /mnt
|
||||
|
||||
VOLUME /mnt
|
||||
WORKDIR /opt/pict-rs
|
||||
|
|
|
@ -214,7 +214,11 @@ RUN \
|
|||
COPY --from=pict-rs-builder /opt/build/pict-rs/target/$TARGET/$BUILD_MODE/pict-rs /usr/local/bin/pict-rs
|
||||
COPY --from=imagemagick-builder /usr/local /usr/local
|
||||
|
||||
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
||||
ENV \
|
||||
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
||||
|
||||
RUN \
|
||||
chown pictrs:pictrs /mnt
|
||||
|
||||
VOLUME /mnt
|
||||
WORKDIR /opt/pict-rs
|
||||
|
|
|
@ -12,7 +12,7 @@ function print_help() {
|
|||
echo "deploy.sh"
|
||||
echo ""
|
||||
echo "Usage:"
|
||||
echo " deploy.sh [tag]"
|
||||
echo " deploy.sh [tag] [branch]"
|
||||
echo ""
|
||||
echo "Args:"
|
||||
echo " tag: The git tag to be applied to the repository and docker build"
|
||||
|
@ -25,6 +25,8 @@ function build_image() {
|
|||
|
||||
./build-image.sh asonix/pictrs $tag $arch
|
||||
|
||||
docker tag asonix/pictrs:$arch-$tag asonix/pictrs:$arch-latest
|
||||
|
||||
docker push asonix/pictrs:$arch-$tag
|
||||
docker push asonix/pictrs:$arch-latest
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ version: '3.3'
|
|||
|
||||
services:
|
||||
pictrs:
|
||||
image: asonix/pictrs:v0.2.0-alpha.2-r1
|
||||
image: asonix/pictrs:v0.2.0-alpha.2-r2
|
||||
ports:
|
||||
- "127.0.0.1:8080:8080"
|
||||
restart: always
|
||||
|
|
Loading…
Reference in a new issue