Skip to content
Snippets Groups Projects
Select Git revision
  • 3adb203df289e48249b8b7b8b60780f8f118bf4f
  • without_tipselection default
  • develop protected
  • fix/grafana-local-dashboard
  • wasp
  • fix/dashboard-explorer-freeze
  • master
  • feat/timerqueue
  • test/sync_debug_and_650
  • feat/sync_revamp_inv
  • wip/sync
  • tool/db-recovery
  • portcheck/fix
  • fix/synchronization
  • feat/new-dashboard-analysis
  • feat/refactored-analysis-dashboard
  • feat/new-analysis-dashboard
  • test/demo-prometheus-fpc
  • prometheus_metrics
  • wip/analysis-server
  • merge/fpc-test-value-transfer
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.3
  • v0.1.2
  • v0.1.1
  • v0.1.0
28 results

event_test.go

Blame
  • Dockerfile NaN GiB
    # we need to use alpine to build since cgo is required
    FROM golang:1.13-alpine AS build
    RUN apk add --no-cache git gcc g++
    
    # Set the current Working Directory inside the container
    RUN mkdir /goshimmer
    WORKDIR /goshimmer
    
    # Download dependencies
    COPY go.mod . 
    COPY go.sum .
    RUN go mod download
    
    # Copy everything from the current directory to the PWD(Present Working Directory) inside the container
    COPY . .
    
    # Build
    RUN CGO_ENABLED=1 GOOS=linux go build -o /go/bin/goshimmer
    
    FROM alpine:latest  
    
    RUN apk --no-cache add ca-certificates
    
    WORKDIR /app
    
    VOLUME /app/mainnetdb
    
    EXPOSE 14666/tcp
    EXPOSE 14626/udp
    EXPOSE 14626/tcp
    
    # Copy the Pre-built binary file from the previous stage
    COPY --from=build /go/bin/goshimmer .
    # Copy the docker config
    COPY docker.config.json config.json
    
    ENTRYPOINT ["./goshimmer"]