File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ RUN tar zxf swiftly.tar.gz && \
4545 hash -r \
4646RUN echo 'source /root/.local/share/swiftly/env.sh' >> /root/.bashrc
4747RUN /root/.local/share/swiftly/bin/swift --version
48+ RUN ln -s /root/.local/share/swiftly/bin/swift /usr/bin/swift
4849
4950
5051WORKDIR /build
Original file line number Diff line number Diff line change 33echo " Swift Codeserver"
44echo " Based on coder/code-server: https://github.com/coder/code-server"
55echo " -----------------------------------------------------------------------------------"
6- echo " For Uitsmijter - Swift ${SWIFT_VERSION} "
6+ VERSION=$( swift --version || echo ${SWIFT_VERSION} )
7+ echo " For Uitsmijter - Swift ${VERSION} "
78echo " "
89echo " Setup system"
910echo ${MAX_USER_INSTANCES} > /proc/sys/fs/inotify/max_user_instances
Original file line number Diff line number Diff line change 1- version : ' 3.7'
2-
31x-shared_environment : &shared_environment
42 SWIFT_VERSION : " ${SWIFT_VERSION}"
53 COMMAND :
You can’t perform that action at this time.
0 commit comments