Skip to content

Commit

Permalink
Update go version
Browse files Browse the repository at this point in the history
  • Loading branch information
MEhrn00 committed Feb 16, 2024
1 parent cd8f759 commit 1934bf5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 18 deletions.
30 changes: 15 additions & 15 deletions Payload_Type/thanatos/.docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# `docker build -t ghcr.io/mythicagents/thanatos:{TAG} -f .docker/Dockerfile .`

# Build the Mythic server side code
FROM docker.io/library/golang:1.21-alpine as mythic-builder
FROM docker.io/library/golang:1.22-alpine as mythic-builder

RUN apk update \
&& apk add binutils \
Expand All @@ -25,14 +25,14 @@ FROM docker.io/library/debian:bookworm-slim
# Install required system packages
RUN dpkg --add-architecture i386 && \
apt-get update -y && apt-get install -y \
make \
curl \
gcc \
libc6:i386 \
libc6-dev:i386 \
lib32gcc-12-dev \
mingw-w64 \
&& apt-get clean
make \
curl \
gcc \
libc6:i386 \
libc6-dev:i386 \
lib32gcc-12-dev \
mingw-w64 \
&& apt-get clean

WORKDIR /tmp

Expand All @@ -51,12 +51,12 @@ ENV SCCACHE_DIR /Mythic/.cache/sccache
# Install Rust with the required toolchains
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup.sh \
&& sh rustup.sh -y \
--profile minimal \
--default-toolchain stable \
-t x86_64-unknown-linux-gnu \
-t x86_64-pc-windows-gnu \
-t i686-unknown-linux-gnu \
-t i686-pc-windows-gnu
--profile minimal \
--default-toolchain stable \
-t x86_64-unknown-linux-gnu \
-t x86_64-pc-windows-gnu \
-t i686-unknown-linux-gnu \
-t i686-pc-windows-gnu

RUN rm -f rustup.sh

Expand Down
2 changes: 0 additions & 2 deletions Payload_Type/thanatos/mythic/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
protos:
protoc --proto_path=protos --go_out=. protos/config.proto
2 changes: 1 addition & 1 deletion Payload_Type/thanatos/mythic/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module thanatos

go 1.21
go 1.22

require (
github.com/MythicMeta/MythicContainer v1.3.6
Expand Down

0 comments on commit 1934bf5

Please sign in to comment.