Skip to content

Commit

Permalink
fix: remove journalbeat from build; it fails and we don't use it
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Feb 19, 2021
1 parent 60c4684 commit c2fed3b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions packages/deployment/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
ARG TAG=latest
ARG REPO=agoric/agoric-sdk
FROM golang:buster AS go-build

WORKDIR /usr/src/journalbeat
RUN apt-get update -y && apt-get install -y libsystemd-dev
RUN go get github.com/mheese/journalbeat
# FIXME: Journalbeat compilation is currently broken, but non-essential.
# Removed from the build.
# FROM golang:buster AS go-build

# WORKDIR /usr/src/journalbeat
# RUN apt-get update -y && apt-get install -y libsystemd-dev
# RUN go get github.com/mheese/journalbeat

FROM $REPO:$TAG

Expand All @@ -20,8 +23,8 @@ RUN echo 'deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main' >> /e
apt-get install -y ansible rsync curl sudo gnupg2 jq python-jmespath && \
apt-get clean -y

# Copy journalbeat for logging support
COPY --from=go-build /go/bin/journalbeat /usr/local/bin/
# # Copy journalbeat for logging support
# COPY --from=go-build /go/bin/journalbeat /usr/local/bin/

WORKDIR /usr/src/app
RUN ln -sf $PWD/setup/ag-setup-cosmos /usr/local/bin/
Expand Down

0 comments on commit c2fed3b

Please sign in to comment.