Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working #12

Open
reteps opened this issue Aug 3, 2024 · 0 comments
Open

Not working #12

reteps opened this issue Aug 3, 2024 · 0 comments

Comments

@reteps
Copy link

reteps commented Aug 3, 2024

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#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant