Skip to content

Commit

Permalink
fix: force gcc (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuisathaverat authored May 31, 2021
1 parent 7c353ae commit 322556d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go1.15/arm/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ RUN cd / \
&& rm helloWorld.c helloWorld

RUN cd /libpcap/libpcap-1.8.1 \
&& ./configure --enable-usb=no --enable-bluetooth=no --enable-dbus=no --host=aarch64-unknown-linux-gnu --with-pcap=linux \
&& CC=aarch64-linux-gnu-gcc ./configure --enable-usb=no --enable-bluetooth=no --enable-dbus=no --host=aarch64-unknown-linux-gnu --with-pcap=linux \
&& make

# Build-time metadata as defined at http://label-schema.org.
Expand Down
2 changes: 1 addition & 1 deletion go1.15/armel/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ RUN cd / \
&& rm helloWorld.c helloWorld

RUN cd /libpcap/libpcap-1.8.1 \
&& ./configure --enable-usb=no --enable-bluetooth=no --enable-dbus=no --host=arm-linux-gnueabi --with-pcap=linux \
&& CC=arm-linux-gnueabi-gcc ./configure --enable-usb=no --enable-bluetooth=no --enable-dbus=no --host=arm-linux-gnueabi --with-pcap=linux \
&& make

# Build-time metadata as defined at http://label-schema.org.
Expand Down
2 changes: 1 addition & 1 deletion go1.15/armhf/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ RUN cd / \
&& rm helloWorld.c helloWorld

RUN cd /libpcap/libpcap-1.8.1 \
&& ./configure --enable-usb=no --enable-bluetooth=no --enable-dbus=no --host=arm-linux-gnueabihf --with-pcap=linux \
&& CC=arm-linux-gnueabihf-gcc ./configure --enable-usb=no --enable-bluetooth=no --enable-dbus=no --host=arm-linux-gnueabihf --with-pcap=linux \
&& make

# Build-time metadata as defined at http://label-schema.org.
Expand Down
2 changes: 1 addition & 1 deletion go1.16/arm/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ RUN cd / \
&& rm helloWorld.c helloWorld

RUN cd /libpcap/libpcap-1.8.1 \
&& ./configure --enable-usb=no --enable-bluetooth=no --enable-dbus=no --host=aarch64-unknown-linux-gnu --with-pcap=linux \
&& CC=aarch64-linux-gnu-gcc ./configure --enable-usb=no --enable-bluetooth=no --enable-dbus=no --host=aarch64-unknown-linux-gnu --with-pcap=linux \
&& make

# Build-time metadata as defined at http://label-schema.org.
Expand Down
2 changes: 1 addition & 1 deletion go1.16/armel/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ RUN cd / \
&& rm helloWorld.c helloWorld

RUN cd /libpcap/libpcap-1.8.1 \
&& ./configure --enable-usb=no --enable-bluetooth=no --enable-dbus=no --host=arm-linux-gnueabi --with-pcap=linux \
&& CC=arm-linux-gnueabi-gcc ./configure --enable-usb=no --enable-bluetooth=no --enable-dbus=no --host=arm-linux-gnueabi --with-pcap=linux \
&& make

# Build-time metadata as defined at http://label-schema.org.
Expand Down
2 changes: 1 addition & 1 deletion go1.16/armhf/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ RUN cd / \
&& rm helloWorld.c helloWorld

RUN cd /libpcap/libpcap-1.8.1 \
&& ./configure --enable-usb=no --enable-bluetooth=no --enable-dbus=no --host=arm-linux-gnueabihf --with-pcap=linux \
&& CC=arm-linux-gnueabihf-gcc ./configure --enable-usb=no --enable-bluetooth=no --enable-dbus=no --host=arm-linux-gnueabihf --with-pcap=linux \
&& make

# Build-time metadata as defined at http://label-schema.org.
Expand Down

0 comments on commit 322556d

Please sign in to comment.