You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM rpmbuild/centos7
USER root
WORKDIR /usr/local
RUN yum install -y wget git mercurial
RUN wget https://storage.googleapis.com/golang/go1.13.1.linux-amd64.tar.gz
RUN tar xvzf go1.13.1.linux-amd64.tar.gz
RUN rm go1.13.1.linux-amd64.tar.gz
RUN yum install -y rpm-build redhat-rpm-config rpmdevtools glibc glibc-common glibc-headers glibc-dev
ENV PATH /root/go/bin:/usr/local/go/bin:$PATH
FROM ubuntu:20.04
USER root
WORKDIR /usr/local
RUN apt-get update && apt upgrade && apt-get install -y wget git mercurial gcc
RUN wget https://go.dev/dl/go1.19.4.linux-amd64.tar.gz
RUN tar xvzf go1.19.4.linux-amd64.tar.gz
RUN rm go1.19.4.linux-amd64.tar.gz
ENV PATH /root/go/bin:/usr/local/go/bin:$PATH
Related
PR: #32
Overview
github.com/chai2010/webp has problem with cross compile. It makes fanlin's cross compile fail also.
--
github.com/chai2010/webp の クロスコンパイルの問題 により、fanlinのクロスコンパイルも失敗します。
Workaround
I made Dockerfile and Makefile to produce binary for CentOS7. These are usable for replacement of cross compile, I share them.
--
CentOS7用のバイナリを作るため、DockerfileとMakefileを用意しました。こちらはクロスコンパイルの代わりとして便利ですので、シェアします。
Dockerfile
Makefile
The text was updated successfully, but these errors were encountered: