mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-04 12:04:27 +01:00
cyphernode proxy is now able to write files to user owned directories using su-exec
This commit is contained in:
@@ -1,3 +1,18 @@
|
||||
FROM alpine as builder
|
||||
|
||||
RUN set -x\
|
||||
&& apk add --no-cache\
|
||||
gcc\
|
||||
make\
|
||||
git\
|
||||
musl-dev
|
||||
|
||||
RUN git clone https://github.com/ncopa/su-exec.git /su-exec
|
||||
|
||||
WORKDIR /su-exec
|
||||
RUN make
|
||||
RUN strip su-exec
|
||||
|
||||
FROM alpine
|
||||
|
||||
ENV HOME /proxy
|
||||
|
||||
@@ -31,7 +31,7 @@ createCurlConfig() {
|
||||
}
|
||||
|
||||
if [ ! -e ${DB_FILE} ]; then
|
||||
echo "DB not found, creating..." 1>&2
|
||||
echo "DB not found, creating..."
|
||||
cat watching.sql | sqlite3 $DB_FILE
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user