This commit is contained in:
parent
28936d7faa
commit
f8dcfc9b7c
@ -66,19 +66,12 @@ jobs:
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=semver,pattern={{major}}
|
||||
#labels: |
|
||||
# org.opencontainers.image.licenses=MIT
|
||||
# org.opencontainers.image.url=https://www.drmaxnix.de
|
||||
#annotations: |
|
||||
# org.opencontainers.image.licenses=MIT
|
||||
# org.opencontainers.image.url=https://www.drmaxnix.de
|
||||
|
||||
- name: Build and Push Docker Images
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
#platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
|
||||
platforms: linux/amd64,linux/arm/v6,linux/arm/v7
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
|
||||
|
10
Dockerfile
10
Dockerfile
@ -1,14 +1,4 @@
|
||||
FROM alpine:latest
|
||||
RUN apk --update add bash python3 py3-virtualenv py3-pip git && rm -rf /var/cache/apk/*
|
||||
RUN apk --update add python3-dev openssl-dev libssl3 libffi-dev && rm -rf /var/cache/apk/*
|
||||
|
||||
RUN git clone https://github.com/etesync/server.git /opt/etebase
|
||||
WORKDIR /opt/etebase
|
||||
RUN virtualenv -p python3 .venv
|
||||
RUN .venv/bin/pip3 install -r requirements.txt
|
||||
|
||||
# NOTE: Workaround, since some packages seem to be missing in requirements.txt (see https://github.com/etesync/server/issues/185)
|
||||
RUN .venv/bin/pip3 install tzdata
|
||||
|
||||
COPY VERSION /VERSION
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
Loading…
Reference in New Issue
Block a user