Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails in Docker image #196

Closed
417-72KI opened this issue Oct 31, 2020 · 0 comments · Fixed by #197
Closed

Build fails in Docker image #196

417-72KI opened this issue Oct 31, 2020 · 0 comments · Fixed by #197

Comments

@417-72KI
Copy link
Contributor

Dockerfile

ARG SWIFT_VERSION=latest
FROM swift:${SWIFT_VERSION}

LABEL maintainer "417-72KI <[email protected]>"

ARG MINT_REVISION=master
ENV MINT_REVISION=${MINT_REVISION}

# Install Mint
RUN git clone -b "${MINT_REVISION}" --depth 1 "https://github.com/yonaskolb/Mint.git" ~/Mint && \
    cd ~/Mint && \
    swift run mint install yonaskolb/mint && \
    cd && \
    rm -rf ~/Mint

CMD [ "/bin/bash" ]

Error

/root/Mint/Sources/MintKit/ProcessInfoExtensions.swift:12:61: error: use of unresolved identifier '_SYS_NAMELEN'
        let data = Data(bytes: &sysinfo.machine, count: Int(_SYS_NAMELEN))
                                                            ^~~~~~~~~~~~

It seems to be caused by #185.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant