Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Dockerfile.packaging: use glibc
Browse files Browse the repository at this point in the history
  • Loading branch information
Shlomi Noach committed Jul 7, 2019
1 parent 7faf253 commit 959bcbb
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions Dockerfile.packaging
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,21 @@
# ORC_USER (default: orc_server_user): username used to login to orchestrator backend MySQL server
# ORC_PASSWORD (default: orc_server_password): password used to login to orchestrator backend MySQL server

FROM alpine:3.10
FROM golang:1.12.6

RUN apk update
RUN apk upgrade
RUN apk add --update ruby
RUN apk add --update ruby-dev
RUN apk add --update gcc
RUN apk add --update libffi-dev
RUN apk add --update make
RUN apk add --update libc-dev
RUN apk add --update rpm
RUN apt-get update
RUN apt-get install -y ruby ruby-dev rubygems build-essential
RUN gem install --no-ri --no-rdoc fpm

ENV GOPATH=/tmp/go

RUN apk add --update libcurl
RUN apk add --update rsync
RUN apk add --update gcc
RUN apk add --update g++
RUN apk add --update build-base
RUN apk add --update bash
RUN apk add --update git
RUN apk add --update go
RUN apk add --update ruby-etc
RUN apk add --update tar
RUN apt-get install -y curl
RUN apt-get install -y rsync
RUN apt-get install -y gcc
RUN apt-get install -y g++
RUN apt-get install -y bash
RUN apt-get install -y git
RUN apt-get install -y tar
RUN apt-get install -y rpm

RUN mkdir -p $GOPATH/src/github.com/github/orchestrator
WORKDIR $GOPATH/src/github.com/github/orchestrator
Expand Down

0 comments on commit 959bcbb

Please sign in to comment.