Compare commits
3 Commits
ca180a8b69
...
14eb70cafd
Author | SHA1 | Date |
---|---|---|
Oskar | 14eb70cafd | |
Renovate Bot | 35fe40fd84 | |
Renovate Bot | 667d98725e |
|
@ -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' }}
|
||||
|
|
12
Dockerfile
12
Dockerfile
|
@ -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 []
|
||||
|
|
Loading…
Reference in New Issue