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 - name: Login to DockerHub
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
uses: docker/login-action@v1 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v3
with: with:
context: . context: .
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}

View File

@ -1,14 +1,8 @@
FROM registry.gitlab.com/fdroid/docker-executable-fdroidserver:latest FROM registry.gitlab.com/fdroid/docker-executable-fdroidserver:latest
RUN apt-get update \ RUN apt update \
&& apt-get upgrade -y \ && apt upgrade -y \
&& apt-get clean \ && apt 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 \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
ENTRYPOINT [] ENTRYPOINT []