To use protobuf with clojure.
1.6K
To use protobuf with clojure.
The project.clj is added for download and compile the zip file ".lein/cache/lein-protobuf/protobuf-2.6.1.zip".
FROM clojure
MAINTAINER Liu Chong [email protected]
WORKDIR /build
ADD . /build
RUN apt-get update && apt-get dist-upgrade -y &&
apt-get install --no-install-recommends -y build-essential automake &&
mkdir -p ~/.m2/repository/org/flatland/protobuf/0.8.2/ &&
wget https://clojars.org/repo/org/flatland/protobuf/0.8.2/protobuf-0.8.2.jar -O ~/.m2/repository/org/flatland/protobuf/0.8.2/protobuf-0.8.2.jar &&
lein deps && lein protobuf
(defproject clojure-protobuf "0.1.0-SNAPSHOT" :description "To use protobuf with clojure." :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.7.0"] [org.flatland/protobuf "0.8.2"]] :plugins [[lein-protobuf "0.4.3"]])
Content type
Image
Digest
Size
390.1 MB
Last updated
over 10 years ago
docker pull liuchong/clojure-protobuf