sys/sysctl header is not available in musl-libc based systems and system calls are available without any header inclusion. I have ported the cmake test from CoreFX repo (https://github.com/dotnet/corefx/blob/431475b8/src/Native/Unix/configure.cmake#L560). Progress towards: #4605
10 lines
336 B
Docker
10 lines
336 B
Docker
# Docker image file that describes an Centos7 image with PowerShell installed from Microsoft YUM Repo
|
|
|
|
FROM microsoft/dotnet:2.1-sdk-alpine
|
|
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>"
|
|
|
|
# Install dependencies and clean up
|
|
RUN apk update \
|
|
&& apk add cmake clang build-base git bash
|
|
|
|
COPY build-and-run-pwsh.sh /
|