Skip to content

Commit

Permalink
Specify PrusaSlicer version
Browse files Browse the repository at this point in the history
  • Loading branch information
marciogranzotto committed Jul 25, 2022
1 parent c072eac commit 0945b5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions prusaslicer-novnc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ WORKDIR /slic3r
COPY get_latest_prusaslicer_release.sh /slic3r/

# hadolint ignore=SC2086
ARG SLICER_VERSION="2.5.0-alpha3"
RUN chmod +x /slic3r/get_latest_prusaslicer_release.sh \
&& latestSlic3r=$(/slic3r/get_latest_prusaslicer_release.sh url) \
&& slic3rReleaseName=$(/slic3r/get_latest_prusaslicer_release.sh name) \
&& latestSlic3r=$(/slic3r/get_latest_prusaslicer_release.sh url name_ver $SLICER_VERSION) \
&& slic3rReleaseName=$(/slic3r/get_latest_prusaslicer_release.sh name name_ver $SLICER_VERSION) \
&& curl -sSL ${latestSlic3r} > ${slic3rReleaseName} \
&& rm -f /slic3r/releaseInfo.json \
&& mkdir -p /slic3r/slic3r-dist \
Expand Down
2 changes: 1 addition & 1 deletion prusaslicer-novnc/get_latest_prusaslicer_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [[ $# -lt 1 ]]; then
exit 1
fi

baseDir="/slic3r"
baseDir="~/slic3r"
mkdir -p $baseDir

if [[ ! -e "$baseDir/latestReleaseInfo.json" ]]; then
Expand Down

0 comments on commit 0945b5e

Please sign in to comment.