Skip to content

Commit 90de65b

Browse files
oussama Dahmazoussama Dahmaz
oussama Dahmaz
authored and
oussama Dahmaz
committed
try to fix macos
1 parent 52c199b commit 90de65b

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

build-macos/Dockerfile

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
FROM debian:stable-20200803
2-
MAINTAINER jano42 "https://github.com/jano42"
3-
LABEL authors=jano42
2+
LABEL org.opencontainers.image.authors="jano42"
43

54
#############################################################
65
## Setup env var && arguments
76
#############################################################
87

98

10-
ENV DEBIAN_FRONTEND noninteractive
9+
ENV DEBIAN_FRONTEND=noninteractive
1110

12-
ENV OSXCROSS_SDK_VERSION 10.15
11+
ENV OSXCROSS_SDK_VERSION=10.15
1312

1413
#Build arguments
1514
ARG darwin_sdk_version="10.15"
@@ -24,12 +23,12 @@ ENV DARWIN_SDK_VERSION="${darwin_sdk_version}" \
2423
DARWIN_SDK_URL="${darwin_sdk_url}"
2524

2625

27-
ENV YADOMS_BUILD_BRANCH develop
28-
ENV MAKE_PACKAGE false
29-
ENV YADOMS_BUILD_TOOLS_PATH /yadoms-build-tools
30-
ENV YADOMS_DEPS_PATH /yadoms-deps/macos
31-
ENV YADOMS_CCMACOS_TRIPLET x86_64-apple-darwin19
32-
ENV YADOMS_CCMACOS_CONFTOOL $YADOMS_CCMACOS_TRIPLET-osxcross-conf
26+
ENV YADOMS_BUILD_BRANCH=develop
27+
ENV MAKE_PACKAGE=false
28+
ENV YADOMS_BUILD_TOOLS_PATH=/yadoms-build-tools
29+
ENV YADOMS_DEPS_PATH=/yadoms-deps/macos
30+
ENV YADOMS_CCMACOS_TRIPLET=x86_64-apple-darwin19
31+
ENV YADOMS_CCMACOS_CONFTOOL=$YADOMS_CCMACOS_TRIPLET-osxcross-conf
3332

3433
USER root
3534

@@ -38,10 +37,10 @@ USER root
3837
#############################################################
3938

4039
RUN cp /dev/null /etc/apt/sources.list \
41-
&& echo "deb http://deb.debian.org/debian/ buster main contrib non-free" | tee -a /etc/apt/sources.list \
40+
&& echo "deb http://archive.debian.org/debian/ buster main contrib non-free" | tee -a /etc/apt/sources.list \
4241
&& echo "deb http://security.debian.org/ buster/updates main contrib non-free" | tee -a /etc/apt/sources.list \
43-
&& echo "deb http://deb.debian.org/debian/ buster-updates main contrib non-free" | tee -a /etc/apt/sources.list \
44-
&& echo "deb http://deb.debian.org/debian buster-backports main contrib non-free" | tee -a /etc/apt/sources.list
42+
&& echo "deb http://archive.debian.org/debian/ buster-updates main contrib non-free" | tee -a /etc/apt/sources.list \
43+
&& echo "deb http://archive.debian.org/debian buster-backports main contrib non-free" | tee -a /etc/apt/sources.list
4544

4645
RUN apt-get update\
4746
&& apt-get install -y g++ libbz2-dev python-dev wget build-essential libssl-dev \

0 commit comments

Comments
 (0)