Skip to content

Not working #12

@reteps

Description

@reteps

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions