mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/docker-easyconnect/docker-easyconnect.git
synced 2026-09-20 08:03:33 +08:00
add Github Actions - build and push docker image to Docker Hub
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
FROM debian:buster-slim
|
||||
|
||||
RUN sed -i s/deb.debian.org/mirrors.cqu.edu.cn/ /etc/apt/sources.list &&\
|
||||
ARG BUILD_ENV=local
|
||||
|
||||
RUN if [ "${BUILD_ENV}" = "local" ]; then sed -i s/deb.debian.org/mirrors.cqu.edu.cn/ /etc/apt/sources.list; fi &&\
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends --no-install-suggests \
|
||||
libgtk2.0-0 libx11-xcb1 libxtst6 libnss3 libasound2 libdbus-glib-1-2 iptables \
|
||||
|
||||
Reference in New Issue
Block a user