mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
23 lines
484 B
Text
23 lines
484 B
Text
ARG GO_VERSION=latest
|
|
|
|
######################
|
|
### Pilosa builder ###
|
|
######################
|
|
|
|
FROM golang:${GO_VERSION} as pilosa-builder
|
|
ARG MAKE_FLAGS
|
|
WORKDIR /pilosa
|
|
|
|
COPY . ./
|
|
|
|
RUN make build FLAGS="-o build/featurebase" ${MAKE_FLAGS}
|
|
|
|
FROM moleculacorp/idk as idk
|
|
LABEL maintainer "dev@molecula.com"
|
|
RUN apt-get update -y
|
|
RUN apt-get install -y bash curl jq
|
|
|
|
|
|
COPY --from=pilosa-builder /pilosa/build/featurebase /
|
|
COPY testBackupRestore.sh /
|
|
CMD ["bash","/testBackupRestore.sh"]
|