File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 - uses : actions/setup-go@v5
1111 with :
1212 go-version : " ^1.21"
13- # - run: make test-integration-docker
14- # name: Run integration tests inside Docker
13+ - run : make test-integration-docker
14+ name : Run integration tests inside Docker
1515 - run : make test
1616 name : Unit tests
1717
Original file line number Diff line number Diff line change @@ -21,9 +21,16 @@ FROM ubuntu:24.04
2121RUN touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu
2222
2323RUN apt-get update && apt-get install -y \
24- ca-certificates \
24+ ca-certificates wget \
2525 && rm -rf /var/lib/apt/lists/*
2626
27+ RUN ARCH=$(uname -m) && \
28+ if [ "$ARCH" = "x86_64" ]; then YQ_ARCH="amd64" ; \
29+ elif [ "$ARCH" = "aarch64" ]; then YQ_ARCH="arm64" ; \
30+ else YQ_ARCH="$ARCH" ; fi && \
31+ wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_${YQ_ARCH} -O /usr/bin/yq && \
32+ chmod +x /usr/bin/yq
33+
2734# Copy only the built binaries and entrypoint from builder
2835COPY --from=builder /go/bin/druid* /usr/bin/
2936COPY --from=builder /entrypoint.sh /entrypoint.sh
Original file line number Diff line number Diff line change @@ -5,6 +5,13 @@ FROM gameservermanagers/steamcmd:ubuntu-24.04
55COPY --from=base /usr/bin/druid* /usr/bin/
66COPY --from=base /entrypoint.sh /entrypoint.sh
77
8+ RUN apt-get update && apt-get install -y \
9+ ca-certificates wget\
10+ && rm -rf /var/lib/apt/lists/*
11+
12+ RUN wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq
13+ RUN chmod +x /usr/bin/yq
14+
815# Set up user with the same UID/GID
916ARG UID=1000
1017ARG GID=1000
You can’t perform that action at this time.
0 commit comments