-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from agarbato/2.53.4
Bump alpine to 3.19.1 / unison 2.53.4
- Loading branch information
Showing
1 changed file
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM alpine:3.18.0 | ||
FROM alpine:3.19.1 | ||
ARG UNISON_VERSION=2.53.4 | ||
|
||
MAINTAINER [email protected] | ||
|
||
|
@@ -28,10 +29,18 @@ RUN apk add --no-cache \ | |
py3-pip \ | ||
logrotate \ | ||
python3-dev \ | ||
unison \ | ||
#&& apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community unison==2.53.0-r0 \ | ||
&& pip3 install flask flask_restful uwsgi requests flask-basicAuth flask-autoindex psutil apscheduler sqlalchemy \ | ||
&& apk del libc-dev linux-headers gcc g++ python3-dev | ||
ocaml \ | ||
curl \ | ||
musl-dev \ | ||
make \ | ||
# Download & Install Unison | ||
&& curl -L https://github.com/bcpierce00/unison/archive/refs/tags/v${UNISON_VERSION}.tar.gz | tar zxv -C /tmp \ | ||
&& cd /tmp/unison-${UNISON_VERSION} \ | ||
&& make \ | ||
&& cp src/unison src/unison-fsmonitor /usr/bin \ | ||
&& pip3 install --break-system-packages flask flask_restful uwsgi requests flask-basicAuth flask-autoindex psutil apscheduler sqlalchemy \ | ||
&& apk del libc-dev linux-headers gcc g++ python3-dev curl musl-dev ocaml make \ | ||
&& rm -rf /tmp/unison-${UNISON_VERSION} | ||
|
||
RUN mkdir -p /var/run/sshd /run/nginx /usr/local/unicloud | ||
ADD app/ /usr/local/unicloud/ | ||
|