mirror of
https://github.com/MedzikUser/docker-fdroidserver
synced 2024-08-15 03:24:48 +00:00
Compare commits
3 commits
ca180a8b69
...
14eb70cafd
Author | SHA1 | Date | |
---|---|---|---|
14eb70cafd | |||
|
35fe40fd84 | ||
|
667d98725e |
2 changed files with 5 additions and 11 deletions
4
.github/workflows/docker-publish.yml
vendored
4
.github/workflows/docker-publish.yml
vendored
|
@ -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' }}
|
||||||
|
|
12
Dockerfile
12
Dockerfile
|
@ -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 []
|
||||||
|
|
Loading…
Reference in a new issue