-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Reproduction
FROM s390x/ubuntu
RUN apt update && apt install -y gcc make git golang-go
WORKDIR /chal
RUN go mod init my-module && go get github.com/89luca89/pakkero && \
cd /root/go/pkg/mod/github.com/89luca89/pakkero* && sed -i 's/-i//g' Makefile && \
make && cp dist/pakkero /chal
COPY main.c Makefile ./
RUN make
RUN ./pakkero --file ./works-on-my-machine -o ./works-on-my-machine-packed
# docker cp /chal/works-on-my-machine .
#include <stdlib.h>
#include <stdio.h>
int main() {
printf("hello world!\n");
}
root@4ec4fa900d3f:/chal# ./works-on-my-machine
hello world!
root@4ec4fa900d3f:/chal# ./works-on-my-machine-packed
root@4ec4fa900d3f:/chal#
Metadata
Metadata
Assignees
Labels
No labels