mirror of
https://github.com/0-8-4/miui-auto-tasks.git
synced 2024-11-25 09:37:32 +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 sed -i 's|https://dl-cdn.alpinelinux.org|http://mirrors.tuna.tsinghua.edu.cn|g' /etc/apk/repositories
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apk add --no-cache gcc musl-dev python3-dev libffi-dev
|
||||||
&& 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 --virtual .build-app curl
|
RUN apk add --no-cache --virtual .build-app curl
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user