File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 1
- FROM alpine:3.18.0
1
+ FROM alpine:3.19.1
2
+ ARG UNISON_VERSION=2.53.4
2
3
3
4
MAINTAINER andrea.garbato@gmail.com
4
5
@@ -28,10 +29,18 @@ RUN apk add --no-cache \
28
29
py3-pip \
29
30
logrotate \
30
31
python3-dev \
31
- unison \
32
- # && apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community unison==2.53.0-r0 \
33
- && pip3 install flask flask_restful uwsgi requests flask-basicAuth flask-autoindex psutil apscheduler sqlalchemy \
34
- && apk del libc-dev linux-headers gcc g++ python3-dev
32
+ ocaml \
33
+ curl \
34
+ musl-dev \
35
+ make \
36
+ # Download & Install Unison
37
+ && curl -L https://github.com/bcpierce00/unison/archive/refs/tags/v${UNISON_VERSION}.tar.gz | tar zxv -C /tmp \
38
+ && cd /tmp/unison-${UNISON_VERSION} \
39
+ && make \
40
+ && cp src/unison src/unison-fsmonitor /usr/bin \
41
+ && pip3 install --break-system-packages flask flask_restful uwsgi requests flask-basicAuth flask-autoindex psutil apscheduler sqlalchemy \
42
+ && apk del libc-dev linux-headers gcc g++ python3-dev curl musl-dev ocaml make \
43
+ && rm -rf /tmp/unison-${UNISON_VERSION}
35
44
36
45
RUN mkdir -p /var/run/sshd /run/nginx /usr/local/unicloud
37
46
ADD app/ /usr/local/unicloud/
You can’t perform that action at this time.
0 commit comments