RasPi用のRustバイナリをクロスコンパイルする環境が欲しかったので dockerでその環境を構築して誰でも利用できるようにdocker hubに登録した ビルトと実行について TL;DR ビルドコマンド dockerがインストールされている環境で以下のコマンドを実行する docker run -it --rm -v ${PWD}:/source yasuyuky/rust-arm cargo build --release --target=arm-unknown-linux-gnueabihf ビルド結果格納先: target/arm-unknown-linux-gnueabihf/release/ ビルド方法(もう少し長い版) dockerが実行可能な環境で以下のようにすればARM上で実行可能なバイナリが作成可能。 Rustのプロジェクトディレクトリに移動して
Prerequisites: an install of Docker (If you don’t want an install, Digital Ocean also has a Docker Droplet). The Docker-Haskell “Official Images” container is available for download. You can find the source over on GitHub and the versions currently being built in the official-images repo. To start a ghci we can pull and run the image tagged as 7.8, which contains alex, happy, cabal and ghc-7.8.3:
groovyとDocker Remote APIでDockerfileからイメージを作成するには、以下のようなコードを実行します。 サンプルコード @Grab(group='org.apache.httpcomponents', module='httpclient', version='4.3.5') import org.apache.http.client.methods.* import org.apache.http.impl.client.* import org.apache.http.entity.* import groovy.json.* // Dockerfileはstageディレクトリに配置する def ant = new AntBuilder() ant.tar(destfile:"dockerfile.tar", basedir:"./stage") def h
Software development is not an easy process. It involves a lot of trial and error. Not only that, but software development also includes various steps and stages. There are many tools called build tools that assist in the process of software creation and development. These tools make the task of developing software much easier and more convenient. Building tools or even applications such as maven,
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く