Skip to content

Commit

Permalink
Updated Dockerfile for device-modbus-go
Browse files Browse the repository at this point in the history
 - add base-build to include gcc to alpine

Signed-off-by: James Gregg <james.r.gregg@intel.com>
  • Loading branch information
jamesrgregg committed Dec 5, 2018
1 parent 0515eb5 commit 64428d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Expand Up @@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0

FROM golang:1.9-alpine AS builder
FROM golang:1.11.2-alpine3.7 AS builder

ENV GOPATH=/go
ENV PATH=$GOPATH/bin:$PATH
Expand All @@ -12,7 +12,7 @@ RUN echo http://nl.alpinelinux.org/alpine/v3.6/main > /etc/apk/repositories; \
echo http://nl.alpinelinux.org/alpine/v3.6/community >> /etc/apk/repositories

RUN apk update && apk add make && apk add bash
RUN apk add curl && apk add git && apk add openssh
RUN apk add curl && apk add git && apk add openssh && apk add build-base

# RUN curl https://glide.sh/get | sh
# Workaround for the requirement to pin the version of glide to v0.13.1
Expand Down

0 comments on commit 64428d1

Please sign in to comment.