Pass correct context to docker build for multiarch and dev build targets. * fixed missing file errors; bumped boundary version * downgraded alpine due to build issues * fixing makefile * bumping boundary and alpine versions * fixed docker directory in makefile and dockerfile * updating dev.dockerfile & makefile
18 lines
441 B
Docker
18 lines
441 B
Docker
FROM docker.mirror.hashicorp.services/alpine:3.10
|
|
|
|
RUN addgroup boundary && \
|
|
adduser -S -G boundary boundary
|
|
|
|
ADD bin/boundary /bin/boundary
|
|
|
|
RUN mkdir /boundary/
|
|
ADD ./config.hcl /boundary/config.hcl
|
|
RUN chown -R boundary:boundary /boundary/
|
|
|
|
EXPOSE 9200 9201 9202
|
|
VOLUME /boundary/
|
|
|
|
COPY ./docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
|
CMD ["server", "-config", "/boundary/config.hcl"]
|