<    June 2018     >
Su Mo Tu We Th Fr Sa  
                1  2  
 3  4  5  6  7  8  9  
10 11 12 13 14 15 16  
17 18 19 20 21 _2_2 23  
24 25 26 27 28 29 30
00:11 elevated joined
01:24 intcat joined
01:26 Maxpm joined
01:31 wener joined
01:34 <grobe0ba> TBB: thanks for the help the other day. i never did actually figure out what was wrong, but yet another drive wipe and reinstall did the trick. now i just have to get mpv and grsec to play nice with each other!
01:35 zava joined
01:40 grayhemp joined
01:44 wener joined
02:40 StarWarsFan|afk joined
03:06 sparklyballs joined
03:11 untoreh joined
03:23 Guest19043 joined
03:42 attos2 joined
03:45 tobias1 joined
03:45 ams__ joined
03:45 yo61 joined
03:45 edwarnicke joined
03:46 savantgarde joined
03:46 krainboltgreene joined
03:50 zava joined
04:29 tmh1999 joined
04:30 grayhemp joined
04:30 tmh1999 joined
04:55 grayhemp joined
05:04 storge joined
05:22 EnTeQuAk joined
05:24 colstrom joined
05:24 leepa joined
05:25 wycats joined
05:26 Guest74533_ joined
05:26 sugarpuff joined
05:26 kolev joined
05:28 serverascode joined
05:29 January joined
05:29 victorbjelkholm joined
05:30 patrickeast joined
05:31 squaremo joined
05:31 odc joined
05:31 tobias1 joined
05:37 saintdev joined
05:37 ahills joined
05:37 LyndsySimon joined
05:38 Fusl_ joined
05:40 ovf joined
05:41 krainboltgreene joined
05:41 fabled joined
05:43 savantgarde joined
05:47 edwarnicke joined
05:56 fabled_ joined
06:10 vectr0n|cloud joined
06:10 tobias1 joined
06:11 savantgarde joined
06:12 edwarnicke joined
06:12 sugarpuff joined
06:13 terrorjack joined
06:14 smallville7123 joined
06:16 krainboltgreene joined
06:18 ams__ joined
06:19 bibble_ joined
06:19 yo61 joined
06:19 metalrain__ joined
06:20 patrickeast joined
06:20 grepory joined
06:20 colstrom joined
06:20 omniuwo_ joined
06:21 moul joined
06:21 January joined
06:21 kolev joined
06:21 ahills joined
06:21 squaremo joined
06:21 leepa joined
06:21 EnTeQuAk joined
06:21 serverascode joined
06:21 EnTeQuAk joined
06:22 squaremo joined
06:22 leepa joined
06:22 feepo_ joined
06:22 EnTeQuAk joined
06:22 serverascode joined
06:22 LyndsySimon joined
06:22 EnTeQuAk joined
06:22 Guest74533_ joined
06:22 wycats joined
06:22 saintdev joined
06:23 Fusl_ joined
06:23 victorbjelkholm joined
06:23 yo61 joined
06:24 January joined
06:24 teatime07 joined
06:24 ams__ joined
06:24 Guest74533_ joined
06:24 ovf joined
06:25 January joined
06:26 serverascode joined
06:27 odc joined
06:29 serverascode joined
06:45 smallville7123 joined
06:45 tayfun26 joined
06:48 aero-224 joined
06:55 cttttt joined
06:56 smallville7123 joined
06:59 jyc joined
06:59 Elizabeth joined
07:06 borntraeger joined
07:08 clemens3 joined
07:19 ryanlelek joined
07:22 grayhemp joined
07:28 misterunknown joined
07:29 VartiWork joined
07:30 <misterunknown> Hi. I have problems using DHCP with DDNS, because the dhcp clients on my alpine containers start with the parameter "-x hostname:localhost". Where can I change this? I already changed the hostname in /etc/hostname and /etc/conf.d/hostname and /etc/hosts.
07:32 <misterunknown> Nevermind, the problem was in the /etc/network/interfaces (hostname localhost) -.-"
07:57 mtsd joined
08:12 borntraeger joined
08:13 mbrevda joined
08:21 arnotixe joined
08:25 Elsmorian joined
08:30 smallville7123 joined
08:33 Minty joined
08:33 jnt joined
08:33 <Minty> Hi there. I'm writing a dockerfile that starts with python:3.6-alpine and installs my app. my app has some dependencies that i need to install first and i'm trying to understand how to write that in an optimised way that minimises image creation time and final image size
08:34 <Minty> I need git but only during the build, to clone repo's. I need to do this 3 times. Should I do RUN apk --no-cache --virtual .build add git && git <something> && apk del .build every time or should i install git at the top and then remove at the bottom?
08:35 czart__ joined
08:45 arnotixe1 joined
08:59 yo61 joined
08:59 smallville7123 joined
09:01 Elsmorian joined
09:05 smallville7123 joined
09:22 aggaz joined
09:34 <misterunknown> Minty: I would install git once and remove it at the end.
09:37 czart joined
09:41 t0mmy joined
09:42 elevated joined
09:57 <Minty> misterunknown: ok thanks. do i do that with just apk add --no-cache git
09:57 <asyd> 6
09:57 <Minty> misterunknown: or should i do apk --no-cache --virtual .build add git
10:04 smallville7123 joined
10:17 <Minty> https://paste.pound-python.org/show/ADtjLLAw6G6jC9lJmb2u/ what dependency am i missing?
10:17 <asyd> probably some headers
10:18 <asyd> cffi is a C extensions, so you need gcc, musl headers, and so more
10:20 <Minty> asyd: is there a complete list somewhere?
10:20 <asyd> try apk add gcc musl-dev make alpine-sdk
10:21 <Minty> asyd: what about build-base?
10:22 <Minty> https://wiki.alpinelinux.org/wiki/GCC
10:22 <asyd> oh, also python3-dev (if you're using python3)
10:24 <Minty> asyd: why do i need python3-dev? my base image is python:3.6-alpine
10:24 <opal> anyone having issues with edge/vim-8.1? i tried downgrading to v3.7/vim-8.0 but im getting bad signature, and i dont have a cached package of edge/8.0
10:24 <asyd> Minty: because you need python headers
10:24 <opal> 8.1 seems to have issues loading runtime files for syntax highlighting
10:25 <Minty> asyd: i'm not sure what that means but are you sure that's not included in the python:3.6-alpine base image?
10:26 <asyd> just run apk add python3-dev and check ?
10:26 quasinoxen joined
10:29 elevated joined
10:32 blahdodo joined
10:32 <Minty> asyd: i don't understand what i'm checking for
10:35 <mps> opal: no problem here with vim, it works as usual
10:36 <mps> vim-8.1.0026-r0
10:37 <mps> opal: ah, you are using stable, but in stable there weren't problems with vim
10:56 marmistrz left
11:03 blahdodo joined
11:04 JayBau joined
11:08 <opal> 10:37.26 < mps:#alpine-linux> opal: ah, you are using stable, but in stable there weren't problems with vim
11:08 <opal> im on edge but i was looking at stable repo to find version 8.0 of vim
11:09 <mps> opal: in my experience vim works well on stable and on the edge
11:10 <opal> hm alright
11:10 JayBau joined
11:10 <mps> and mixing stable and edge is not good idea, although I do ;)
11:12 <opal> i'll try with -u NONE then if that doesnt work ill just delete all vim-related files and clean install it
11:12 <opal> are 3.7 and edge signed by different keys or something
11:13 <mps> opal: maybe you have something in your .vimrc which make a problem
11:22 <Minty> Is anyone able to take a look at this and suggest any changes / optimisations; https://paste.pound-python.org/show/jB7J61lPyjFSJuOHQqwf/? My built image is 430 MB and it takes about 3 minutes to build. This is in part because of the amount of python dependencies that my main app has but wondering if there's anything I can do to improve creation speed or final image size.
11:35 <opal> oh shit mps it's a file in .local/share doing it
11:36 <opal> dunno how it got there but i'll move it somewhere else to see if it fixes it
11:36 <opal> my question about package signing still stands; maybe i can find my answer in the wiki though
11:37 <opal> wait i thought it was .local/share
11:37 <opal> i'll figure it out
11:37 smallville7123 joined
11:48 <mps> 'apk policy vim' could help maybe
11:49 zgrep joined
11:51 <opal> oh no i see now, its looking at /usr/share/vim/vim80 not vim81
11:51 <opal> ok
11:51 <opal> idk how that happened
11:52 <opal> ok fixed
11:58 smallville7123 joined
12:00 Quora joined
12:21 JayBau joined
12:26 JayBau joined
12:26 Elsmorian joined
12:32 mtsd left
12:47 Roybent joined
12:51 halbeno joined
13:01 YoursTruly joined
13:01 Xe joined
13:02 alazare619 joined
13:07 arnotixe joined
13:15 borntraeger joined
13:20 czart_ joined
13:27 aventx joined
13:28 <aventx> does anyone know if it's possible to get the gencat command on alpine linux?
13:37 <deedubs> Hey alpine people, sorry for the slightly OT message but I'm working on a kubernetes distro using alpine as a host os and I'm in a tight race to win an logo for the project. I'd love if you could give me a thumbsup on this comment https://github.com/arasatasaygin/openlogos/issues/14#issuecomment-398411024
13:38 <deedubs> aventx: is the source available? you could build it
13:38 <deedubs> Minty: you should be doing the build in two stages
13:39 <aventx> @deedubs i'm attempting to build it currently. It's part of glibc
13:39 <deedubs> higher in your dockerfile add requirements.txt and do the install of the deps
13:39 <deedubs> then add the rest of the code AFTER the dep install, this will allow you to cache the result of the dep install unless requirements.txt changes
13:40 wener joined
13:40 <aventx> i'm not actually doing it in a container. Just need to get a working binary that's compatible with alpine
13:43 <deedubs> Yeah sorry that was for Minty. Have you looked at `libc6-compat`
13:43 greguu joined
13:46 <aventx> deedubs: No I haven't let me give that a look now
13:52 aero-224 joined
13:58 Rapture joined
14:07 aero-224 joined
14:16 <tmh1999> Minty: still around ?
14:16 <Minty> tmh1999: yea sorry
14:16 <tmh1999> if you still need help on your Dockerfile, I'm looking in it
14:16 <Minty> tmh1999: thanks, that would help. just looking @ deedubs remarks also
14:16 <Minty> deedubs: what do you mean by 2 stages - 2 separate docker files?
14:17 <Minty> deedubs: but i can't put requirements.txt any higher because it depends on the apk installs...
14:18 aero-224 joined
14:18 aero-224 joined
14:19 aero-224_ joined
14:19 <deedubs> move this to the bottom `ADD . /titan/`
14:19 <tmh1999> your file seems fine, I'm not Docker expert, but I would RUN apk ad --no-cache --virtual .mybuild [list of packages] for all packages in the top of the file for 1 time only, then apk del .mybuild at the end.
14:20 arnotixe joined
14:22 <deedubs> so docker builds cache layers, so you want to move things that don't change often to earlier in the build
14:23 <deedubs> this is how we often do it in nodejs https://paste.pound-python.org/show/q50mub9Xdj1Zyc5K9Umn/
14:30 <Minty> deedubs: hang on, i'm still not understanding how this will work
14:31 <Minty> deedubs: do you have my pastebin in front of you? can we talk about line numbers etc.?
14:31 <deedubs> yes
14:31 <Minty> deedubs: so line 11 is dependent on line 9 and line 6. line 9 is not dependent on 6
14:31 <Minty> deedubs: but that just means that line 9 and 6 could be swapped which i don't think offers any benefit
14:33 <deedubs> line 6 should be the last thing you do in your dockerfile
14:33 <Minty> deedubs: you're misunderstanding
14:33 <Minty> deedubs: again - LINE 11 is dependent on LINE 6
14:33 <deedubs> no your misunderstanding
14:33 arnotixe joined
14:33 <Minty> line 11 is installing the files that are added from line 6
14:33 <deedubs> you don't want to add all your code that high up
14:33 <deedubs> you want to add JUST what you need on line 11
14:33 <Minty> deedubs: i need to! it's what i'm installing!
14:33 <deedubs> so requirements.txt
14:34 <Minty> nope, requierments.txt installs the app itself
14:34 <Minty> the second line in requirements.txt is -e .
14:34 <clandmeter> We are having some storage issues (disk full) so some services (like git) are temporary having issues.
14:34 <deedubs> oh, that's my lack of experience with python then
14:34 <deedubs> can you not seperate your dep install from your code?
14:35 <Minty> i guess i could
14:35 <Minty> will that cause the installation of requirements to be cached?
14:35 <deedubs> that's how you'll get 10 second docker builds
14:35 <deedubs> yes
14:35 <Minty> why isn't the current installation being cached?
14:35 <Minty> nothing is changing in my app so why isn't docker cacheing that whole line 11
14:35 <Minty> or line 9 for that matter
14:35 <Minty> line 9 is not cached either - why not?
14:35 <deedubs> becase you add your whole codebase so high up in your dockerfile
14:36 <Minty> but my codebase hasn't changed
14:36 <Minty> so why is docker not cacheing
14:36 <deedubs> anything changes, an atime, anything, it invalidates the whole build
14:36 <Minty> it's doing that with no changes.
14:36 <Minty> i can do docker build . twice in a row and it's identical in what it does and timings both times
14:37 <Minty> the from is cached etc. and the adding of the code is cached, but the installation is not
14:37 <deedubs> Okay then you must have a unicorn docker daemon that doesn't do what the rest of the docker ecosystems leverages for fast builds
14:38 <Minty> great
14:38 <Minty> no idea how / why. i'm just running the regular docker for windows
14:38 <deedubs> I can say with near 100% certainty that your working dir is being mutated in some why between builds and invalidating the cache
14:39 <deedubs> seperate your dep install from your app install, that's the path from madness
14:39 <Minty> were you under the impression that RUN caches?
14:39 <deedubs> it does yes
14:40 <Minty> deedubs: i can prove to you that that's not the case. line 6 IS being cached. it's line 9 and 11 that are not
14:40 <Minty> the two RUN commands are not being cached.
14:40 <Minty> deedubs: here's your proof; https://paste.pound-python.org/show/qFxDqjqZn1Xp608ObEHW/
14:40 <deedubs> ¯\_(ツ)_/¯ use golang or nodejs :P I can't help ya
14:42 <Minty> Can anyone help me understand what the "driver name" is for unixODBC for connecting to azure sql
14:51 aero-224 joined
14:58 <aventx> exit
14:58 <Minty> How do I install the unixodbc driver i need for azure sql, and configure it, all at the command prompt (as this needs to go into a dockerfile)
14:59 <Minty> unixodbc.org directs me here; https://www.devart.com/odbc/sqlazure/docs/linux.htm
15:00 elevated joined
15:02 <Minty> do i use curl to get the tar ball, then tar to unpack it, then how do i accept EULA / do other configuration?
15:05 wener joined
15:15 arnotixe1 joined
15:20 <Minty> Please can you help me write this workflow as shell commands? https://www.devart.com/odbc/sqlazure/docs/linux.htm
15:24 <* omniuwo> blinks
15:27 tmh1999 joined
15:30 arnotixe1 joined
15:32 smallville7123 joined
15:32 t0mmy joined
15:41 vectr0n|cloud joined
15:47 aero-224 joined
15:56 alpha_Aquilae joined
15:58 Quora joined
15:59 grayhemp joined
16:00 grayhemp joined
16:01 alpha_Aquilae joined
16:04 Minty left
16:08 alpha_Aquilae joined
16:18 j7k6_ joined
16:22 j7k6 joined
16:26 arnotixe joined
16:40 Xe joined
16:41 arnotixe joined
16:41 alpha_Aquilae joined
16:56 alpha_Aquilae joined
17:01 alpha_Aquilae joined
17:05 dc13ff joined
17:11 wener joined
17:40 alpha_Aquilae joined
17:59 elevated joined
18:03 alpha_Aquilae joined
18:08 borntraeger joined
18:24 alpha_Aquilae joined
18:28 nots joined
18:29 alpha_Aquilae joined
18:36 cborntra joined
18:45 YoursTruly joined
19:04 Maxpm joined
19:10 mizux joined
19:35 Tyresc joined
19:48 wener joined
20:05 alpha_Aquilae joined
20:17 rcampo joined
20:18 <rcampo> does anyone know why fmask will not change from 0022 when mounting vfat.
20:18 <rcampo> ?
20:19 <rcampo> /dev/sda1 /media/sda1 vfat ro,relatime,fmask=0027,dmask=0022,errors=remount-ro 0 0
20:19 <rcampo> does nothing
20:19 <rcampo> in fstab
20:23 aero-224 joined
20:25 clemens3 joined
20:54 vectr0n|cloud joined
20:59 alpha_Aquilae joined
21:09 alpha_Aquilae joined
21:12 laskin joined
21:13 <laskin> Hi. Do you have any problems with playing videos in Firefox? I have only youtube playing fine, and all other sites failing ):
21:14 <laskin> Chromium works fine though.
21:19 _0bitcount joined
21:32 nots joined
21:32 Elsmorian joined
21:46 alpha_Aq1ilae joined
21:52 Arcaelyx joined
22:11 alpha_Aquilae joined
22:46 alpha_Aquilae joined
22:51 alpha_Aquilae joined
22:51 zzj joined
22:57 alpha_Aquilae joined
23:09 alpha_Aquilae joined
23:14 Maxpm joined
23:15 dc13ff joined
23:21 tmh1999 joined
23:22 _ikke_ joined
23:24 alpha_Aquilae joined
23:25 oida joined
23:45 JayBau__ joined
23:49 _ikke_ joined
23:52 alpha_Aquilae joined
23:57 alpha_Aquilae joined