mirror of
https://github.com/0-8-4/miui-auto-tasks.git
synced 2024-11-21 14:48:20 +00:00
Fix package manager misuse in Dockerfile (#194)
This commit is contained in:
parent
b77b1b0f95
commit
31ff695304
@ -2,10 +2,7 @@ FROM python:alpine
|
||||
|
||||
RUN sed -i 's|https://dl-cdn.alpinelinux.org|http://mirrors.tuna.tsinghua.edu.cn|g' /etc/apk/repositories
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y gcc musl-dev libffi-dev libssl-dev ca-certificates cron \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN apk add --no-cache gcc musl-dev python3-dev libffi-dev
|
||||
|
||||
RUN apk add --no-cache --virtual .build-app curl
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user