Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ RUN \
mkdir -p \
/var/www/html/ && \
if [ -z ${SNIPEIT_RELEASE+x} ]; then \
SNIPEIT_RELEASE=$(curl -sX GET "https://api.github.com/repos/snipe/snipe-it/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
SNIPEIT_RELEASE=$(curl -sX GET "https://api.github.com/repos/snipe/snipe-it/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
curl -o \
/tmp/snipeit.tar.gz -L \
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM lsiobase/nginx:arm64v8-3.9

# set version label
ARG BUILD_DATE
ARG VERSION
Expand Down Expand Up @@ -38,8 +39,8 @@ RUN \
mkdir -p \
/var/www/html/ && \
if [ -z ${SNIPEIT_RELEASE+x} ]; then \
SNIPEIT_RELEASE=$(curl -sX GET "https://api.github.com/repos/snipe/snipe-it/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
SNIPEIT_RELEASE=$(curl -sX GET "https://api.github.com/repos/snipe/snipe-it/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
curl -o \
/tmp/snipeit.tar.gz -L \
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile.armhf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM lsiobase/nginx:arm32v7-3.9

# set version label
ARG BUILD_DATE
ARG VERSION
Expand Down Expand Up @@ -38,8 +39,8 @@ RUN \
mkdir -p \
/var/www/html/ && \
if [ -z ${SNIPEIT_RELEASE+x} ]; then \
SNIPEIT_RELEASE=$(curl -sX GET "https://api.github.com/repos/snipe/snipe-it/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
SNIPEIT_RELEASE=$(curl -sX GET "https://api.github.com/repos/snipe/snipe-it/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
curl -o \
/tmp/snipeit.tar.gz -L \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ Below are the instructions for updating containers:

## Versions

* **10.04.19:** - Fix permissions for new bootstrap cache directory.
* **23.03.19:** - Switching to new Base images, shift to arm32v7 tag.
* **22.02.19:** - Rebasing to alpine 3.9.
* **31.10.18:** - Rebasing to alpine 3.8
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ app_setup_block: |

# changelog
changelogs:
- { date: "10.04.19:", desc: "Fix permissions for new bootstrap cache directory." }
- { date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag." }
- { date: "22.02.19:", desc: "Rebasing to alpine 3.9." }
- { date: "31.10.18:", desc: "Rebasing to alpine 3.8" }
Expand Down
3 changes: 2 additions & 1 deletion root/etc/cont-init.d/40-config
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ fi

# permissions
chown -R abc:abc \
/config/
/config/ \
/var/www/html/bootstrap/cache

# add server name to nginx config
sed -i "s/APP_URL_PLACEHOLDER/${APP_URL}/g" /config/nginx/site-confs/default
Expand Down