Compare commits

...

3 Commits

Author SHA1 Message Date
Oskar 14eb70cafd
delete nodejs and change apt-get to apt 2022-05-14 20:40:36 +02:00
Renovate Bot 35fe40fd84 Update docker/build-push-action action to v3 2022-05-14 20:38:26 +02:00
Renovate Bot 667d98725e Update docker/login-action action to v2 2022-05-14 20:38:14 +02:00
2 changed files with 5 additions and 11 deletions

View File

@ -22,13 +22,13 @@ jobs:
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
push: ${{ github.event_name != 'pull_request' }}

View File

@ -1,14 +1,8 @@
FROM registry.gitlab.com/fdroid/docker-executable-fdroidserver:latest
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install Node.js
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash \
&& apt-get install -y nodejs \
&& apt-get clean \
RUN apt update \
&& apt upgrade -y \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT []