forked from kassisol/hbm
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile.dev
31 lines (22 loc) · 882 Bytes
/
Dockerfile.dev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM kassis/dev:go
########## Dapper Configuration #####################
ENV DAPPER_RUN_ARGS="--privileged -p 127.0.0.1:2345:2345 --name hbm_dev"
ENV DAPPER_SOURCE="/go/src/github.com/kassisol/hbm"
ENV SHELL="/bin/bash"
WORKDIR ${DAPPER_SOURCE}
########## General Configuration #####################
ARG DAPPER_HOST_ARCH=amd64
ARG HOST_ARCH=${DAPPER_HOST_ARCH}
ARG ARCH=${HOST_ARCH}
ARG APP_REPO=kassisol
ARG docker_version=27.3.1
# Set up environment and export all ARGS as ENV
ENV ARCH=${ARCH} \
HOST_ARCH=${HOST_ARCH}
ENV DOCKER_COMPOSE_VERSION=1.28.4 \
DAPPER_HOST_ARCH=${DAPPER_HOST_ARCH}
# Install Docker
RUN get-docker.sh $docker_version
# Install Docker Compose
RUN wget --progress=dot:giga https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -O /usr/bin/docker-compose \
&& chmod +x /usr/bin/docker-compose