10000 [pull] master from cuteribs:master by pull[bot] · Pull Request #13 · fenglinyes/ribsnetwork · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[pull] master from cuteribs:master #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to 8000 your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Docker Image CI

on:
workflow_dispatch:
inputs:
path:
description: 'Path to Dockerfile'
required: true

jobs:
build:
runs-on: ubuntu-latest
if: ${{ inputs.path != '' }}
steps:
- uses: actions/checkout@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build the Docker image
run: |
docker build ${{ inputs.path }} -t cuteribs/${{ inputs.path }}:latest
docker push cuteribs/${{ inputs.path }}:latest
20 changes: 14 additions & 6 deletions net6app-azcli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
FROM cuteribs/net6app

RUN apk add --no-cache --update python3 py3-pip && \
apk add --no-cache --update --virtual=build gcc musl-dev python3-dev libffi-dev openssl-dev cargo make && \
pip3 install --no-cache-dir --prefer-binary azure-cli && \
apk del build # buildkit
FROM cuteribs/net6app

RUN apk add --no-cache --update python3 py3-pip
RUN apk add --no-cache --update --virtual=build gcc musl-dev python3-dev libffi-dev openssl-dev cargo make && \
pip3 install --no-cache-dir --prefer-binary azure-cli && \
apk del build

ENV ASPNETCORE_ENVIRONMENT=Development

VOLUME /app
VOLUME /root/.azure
VOLUME /root/.microsoft/usersecrets

WORKDIR /app
3 changes: 1 addition & 2 deletions net6app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0-alpine

RUN apk add --no-cache icu-libs
RUN apk add --no-cache icu-data-full
RUN apk add --no-cache icu-libs icu-data-full

ENV ASPNETCORE_ENVIRONMENT=Development

Expand Down
12 changes: 6 additions & 6 deletions ooklaserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
# Dockerfile for OoklaServer
#

FROM cuteribs/alpine
FROM alpine
LABEL maintainer="cuteribs <ericfine1981@live.com>"

WORKDIR /ookla

RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.31-r0/glibc-2.31-r0.apk && \
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.31-r0/glibc-bin-2.31-r0.apk && \
apk add glibc-2.31-r0.apk glibc-bin-2.31-r0.apk && \
rm glibc-2.31-r0.apk glibc-bin-2.31-r0.apk && \
wget -qO- https://install.speedtest.net/ooklaserver/stable/OoklaServer-linux64.tgz | tar xzoC /ookla
wget -O glibc.apk https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r1/glibc-2.35-r1.apk && \
wget -O glibc-bin.apk https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r1/glibc-bin-2.35-r1.apk && \
apk add --no-cache --force-overwrite glibc.apk glibc-bin.apk && \
rm glibc* && \
wget -qO- https://install.speedtest.net/ooklaserver/stable/OoklaServer-linux64.tgz | tar xzoC /ookla

EXPOSE 5060 8080 5060/udp 8080/udp
CMD ["/ookla/OoklaServer"]
Expand Down
Loading
0