Skip to content

Commit

Permalink
Merge pull request #40 from agarbato/2.53.4
Browse files Browse the repository at this point in the history
Bump alpine to 3.19.1 / unison 2.53.4
  • Loading branch information
agarbato authored Apr 26, 2024
2 parents 705b444 + 29d5f0f commit 1197eca
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions Dockerfile
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]

Expand Down Expand Up @@ -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/
Expand Down

0 comments on commit 1197eca

Please sign in to comment.