Sign inSign up

liuchong/clojure-protobuf

By liuchong

•Updated almost 11 years ago

To use protobuf with clojure.

Image
0

1.6K

liuchong/clojure-protobuf repository overview

To use protobuf with clojure.

⁠Note:

The project.clj is added for download and compile the zip file ".lein/cache/lein-protobuf/protobuf-2.6.1.zip".

⁠Dockerfile

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

⁠project.clj

(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"]])

Tag summary

Content type

Image

Digest

Size

390.1 MB

Last updated

almost 11 years ago

docker pull liuchong/clojure-protobuf